/// <summary> /// 构建 /// </summary> /// <param name="n1"></param> /// <param name="n2"></param> /// <param name="n3"></param> /// <param name="type"></param> /// <param name="map"></param> public GolfMaptriangle(GolfAIPoint gp1, GolfAIPoint gp2, GolfAIPoint gp3) { this.m_gp1 = gp1; this.m_gp2 = gp2; this.m_gp3 = gp3; AABB.CalcAABB(this.P1, this.P2, this.P3, ref this.m_AA3, ref this.m_BB3); SetAABB2(); }