Max() public static method

public static Max ( float value1, float value2 ) : float
value1 float
value2 float
return float
Ejemplo n.º 1
0
 public static void Max(ref Vector3 value1, ref Vector3 value2, out Vector3 result)
 {
     result.X = MathHelper.Max(value1.X, value2.X);
     result.Y = MathHelper.Max(value1.Y, value2.Y);
     result.Z = MathHelper.Max(value1.Z, value2.Z);
 }
Ejemplo n.º 2
0
 public static Vector4 Max(Vector4 value1, Vector4 value2)
 {
     return(new Vector4(MathHelper.Max(value1.X, value2.X), MathHelper.Max(value1.Y, value2.Y), MathHelper.Max(value1.Z, value2.Z), MathHelper.Max(value1.W, value2.W)));
 }
Ejemplo n.º 3
0
 public static void Max(ref Vector4 value1, ref Vector4 value2, out Vector4 result)
 {
     result = new Vector4(MathHelper.Max(value1.X, value2.X), MathHelper.Max(value1.Y, value2.Y), MathHelper.Max(value1.Z, value2.Z), MathHelper.Max(value1.W, value2.W));
 }
Ejemplo n.º 4
0
 public static void Max(ref Vector2 value1, ref Vector2 value2, out Vector2 result)
 {
     result = new Vector2(
         MathHelper.Max(value1.X, value2.X),
         MathHelper.Max(value1.Y, value2.Y));
 }
Ejemplo n.º 5
0
 public static Vector2 Max(Vector2 value1, Vector2 value2)
 {
     return(new Vector2(
                MathHelper.Max(value1.X, value2.X),
                MathHelper.Max(value1.Y, value2.Y)));
 }
Ejemplo n.º 6
0
 public static Vector3 Max(Vector3 value1, Vector3 value2)
 {
     return(new Vector3(MathHelper.Max(value1.X, value2.X), MathHelper.Max(value1.Y, value2.Y), MathHelper.Max(value1.Z, value2.Z)));
 }
Ejemplo n.º 7
0
 public static void Max(ref Vector2 value1, ref Vector2 value2, out Vector2 result)
 {
     result = new Vector2(
         MathHelper.Max(value1.x, value2.x),
         MathHelper.Max(value1.y, value2.y));
 }
Ejemplo n.º 8
0
 public static Vector2 Max(Vector2 value1, Vector2 value2)
 {
     return(new Vector2(
                MathHelper.Max(value1.x, value2.x),
                MathHelper.Max(value1.y, value2.y)));
 }