public static void Barycentric(ref Fixed64Vector2 value1, ref Fixed64Vector2 value2, ref Fixed64Vector2 value3, Fixed64 amount1, Fixed64 amount2, out Fixed64Vector2 result) { result = new Fixed64Vector2( FixedMath.Barycentric(value1.x, value2.x, value3.x, amount1, amount2), FixedMath.Barycentric(value1.y, value2.y, value3.y, amount1, amount2)); }
public static Fixed64Vector2 Barycentric(Fixed64Vector2 value1, Fixed64Vector2 value2, Fixed64Vector2 value3, Fixed64 amount1, Fixed64 amount2) { return(new Fixed64Vector2( FixedMath.Barycentric(value1.x, value2.x, value3.x, amount1, amount2), FixedMath.Barycentric(value1.y, value2.y, value3.y, amount1, amount2))); }