Example #1
0
 public static void Barycentric(ref FixVector2 value1, ref FixVector2 value2, ref FixVector2 value3, Fix64 amount1,
                                Fix64 amount2, out FixVector2 result)
 {
     result = new FixVector2(
         FixMath.Barycentric(value1.x, value2.x, value3.x, amount1, amount2),
         FixMath.Barycentric(value1.y, value2.y, value3.y, amount1, amount2));
 }
Example #2
0
 public static FixVector2 Barycentric(FixVector2 value1, FixVector2 value2, FixVector2 value3, Fix64 amount1, Fix64 amount2)
 {
     return(new FixVector2(
                FixMath.Barycentric(value1.x, value2.x, value3.x, amount1, amount2),
                FixMath.Barycentric(value1.y, value2.y, value3.y, amount1, amount2)));
 }