public static void Min(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { result = new Vector2( MathHelper.Min(value1.X, value2.X), MathHelper.Min(value1.Y, value2.Y)); }
/// <summary> /// Creates a new <see cref="Vector3"/> that contains a minimal values from the two vectors. /// </summary> /// <param name="value1">The first vector.</param> /// <param name="value2">The second vector.</param> /// <param name="result">The <see cref="Vector3"/> with minimal values from the two vectors as an output parameter.</param> public static void Min(ref Vector3 value1, ref Vector3 value2, out Vector3 result) { result.X = MathHelper.Min(value1.X, value2.X); result.Y = MathHelper.Min(value1.Y, value2.Y); result.Z = MathHelper.Min(value1.Z, value2.Z); }
public static Vector2 Min(Vector2 value1, Vector2 value2) { return(new Vector2( MathHelper.Min(value1.X, value2.X), MathHelper.Min(value1.Y, value2.Y))); }
public static void Min(ref Vector4 value1, ref Vector4 value2, out Vector4 result) { result = new Vector4(MathHelper.Min(value1.X, value2.X), MathHelper.Min(value1.Y, value2.Y), MathHelper.Min(value1.Z, value2.Z), MathHelper.Min(value1.W, value2.W)); }
public static Vector4 Min(Vector4 value1, Vector4 value2) { return(new Vector4(MathHelper.Min(value1.X, value2.X), MathHelper.Min(value1.Y, value2.Y), MathHelper.Min(value1.Z, value2.Z), MathHelper.Min(value1.W, value2.W))); }
public static Vector3 Min(Vector3 value1, Vector3 value2) { return(new Vector3(MathHelper.Min(value1.X, value2.X), MathHelper.Min(value1.Y, value2.Y), MathHelper.Min(value1.Z, value2.Z))); }
public static void Min(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { result = new Vector2( MathHelper.Min(value1.x, value2.x), MathHelper.Min(value1.y, value2.y)); }
public static Vector2 Min(Vector2 value1, Vector2 value2) { return(new Vector2( MathHelper.Min(value1.x, value2.x), MathHelper.Min(value1.y, value2.y))); }