public static FixVector2 Lerp(FixVector2 value1, FixVector2 value2, Fix64 amount) { amount = FixMath.Clamp(amount, 0, 1); return(new FixVector2( FixMath.Lerp(value1.x, value2.x, amount), FixMath.Lerp(value1.y, value2.y, amount))); }
public static void LerpUnclamped(ref FixVector2 value1, ref FixVector2 value2, Fix64 amount, out FixVector2 result) { result = new FixVector2( FixMath.Lerp(value1.x, value2.x, amount), FixMath.Lerp(value1.y, value2.y, amount)); }
public static FixVector2 LerpUnclamped(FixVector2 value1, FixVector2 value2, Fix64 amount) { return(new FixVector2( FixMath.Lerp(value1.x, value2.x, amount), FixMath.Lerp(value1.y, value2.y, amount))); }