public static Vector2 Max(Vector2 value1, Vector2 value2)
{
Vector2 result;
result.X = ((value1.X > value2.X) ? value1.X : value2.X);
result.Y = ((value1.Y > value2.Y) ? value1.Y : value2.Y);
return result;
}
/// <summary>Returns a vector that contains the highest value from each matching pair of components.</summary>