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