Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 // Returns a vector that is made from the smallest components of two vectors.
 public static FPVector4 Min(FPVector4 lhs, FPVector4 rhs)
 {
     return(new FPVector4(FPMath.Min(lhs.x, rhs.x), FPMath.Min(lhs.y, rhs.y), FPMath.Min(lhs.z, rhs.z), FPMath.Min(lhs.w, rhs.w)));
 }
Ejemplo n.º 3
0
 public static FPVector2 Min(FPVector2 value1, FPVector2 value2)
 {
     return(new FPVector2(
                FPMath.Min(value1.x, value2.x),
                FPMath.Min(value1.y, value2.y)));
 }