public static void CatmullRom(ref FPVector2 value1, ref FPVector2 value2, ref FPVector2 value3, ref FPVector2 value4, FP amount, out FPVector2 result) { result = new FPVector2( FPMath.CatmullRom(value1.x, value2.x, value3.x, value4.x, amount), FPMath.CatmullRom(value1.y, value2.y, value3.y, value4.y, amount)); }
public static FPVector2 CatmullRom(FPVector2 value1, FPVector2 value2, FPVector2 value3, FPVector2 value4, FP amount) { return(new FPVector2( FPMath.CatmullRom(value1.x, value2.x, value3.x, value4.x, amount), FPMath.CatmullRom(value1.y, value2.y, value3.y, value4.y, amount))); }