/// <summary> /// Computes min(first, second). /// </summary> /// <param name="first">The first argument.</param> /// <param name="second">The second argument.</param> /// <returns>The minimum of first and second value.</returns> public static Index3 Min(Index3 first, Index3 second) { return(new Index3( GPUMath.Min(first.X, second.X), GPUMath.Min(first.Y, second.Y), GPUMath.Min(first.Z, second.Z))); }
/// <summary> /// Computes min(first, second). /// </summary> /// <param name="first">The first argument.</param> /// <param name="second">The second argument.</param> /// <returns>The minimum of first and second value.</returns> public static Index Min(Index first, Index second) { return(new Index(GPUMath.Min(first.X, second.X))); }
/// <summary> /// Computes min(first, second). /// </summary> /// <param name="first">The first argument.</param> /// <param name="second">The second argument.</param> /// <returns>The minimum of first and second value.</returns> public static Index2 Min(Index2 first, Index2 second) { return(new Index2( GPUMath.Min(first.X, second.X), GPUMath.Min(first.Y, second.Y))); }