Example #1
0
        public Vector3 CalcBarycentricCoords(Vector2 point)
        {
            Vector3 result;

            Triangle2.CalcBarycentricCoords(ref point, ref this.V0, ref this.V1, ref this.V2, out result);
            return(result);
        }
Example #2
0
 public static Vector3 CalcAnglesRad(Vector2 v0, Vector2 v1, Vector2 v2)
 {
     return(Triangle2.CalcAnglesRad(ref v0, ref v1, ref v2));
 }