Sharpex2D.Math.Vector2.Min C# (CSharp) Method

Min() public static method

Returns the lesser components of the two values.
public static Min ( Vector2 a, Vector2 b ) : Vector2
a Vector2 The first value.
b Vector2 The second value.
return Vector2
        public static Vector2 Min(Vector2 a, Vector2 b)
        {
            return new Vector2(
                MathHelper.Min(a.X, b.X),
                MathHelper.Min(a.Y, b.Y));
        }