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