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