/// <summary> /// Subtracts a scalar from a matrix. /// </summary> /// <param name="a">A <see cref="Matrix4F"/> instance.</param> /// <param name="s">A <see cref="Matrix4F"/> instance.</param> /// <returns>A new <see cref="Matrix4F"/> instance containing the difference.</returns> public static Matrix4F operator -(Matrix4F a, float s) { return(Matrix4F.Subtract(a, s)); }
/// <summary> /// Subtracts a scalar from a matrix. /// </summary> /// <param name="matrix">A <see cref="Matrix4F"/> instance.</param> /// <param name="scalar">A single-precision floating-point number.</param> /// <returns>A new <see cref="Matrix4F"/> instance containing the difference.</returns> public static Matrix4F operator -(Matrix4F matrix, float scalar) { return(Matrix4F.Subtract(matrix, scalar)); }
/// <summary> /// Subtracts a matrix from a matrix. /// </summary> /// <param name="a">A <see cref="Matrix4F"/> instance.</param> /// <param name="b">A <see cref="Matrix4F"/> instance.</param> /// <returns>A new <see cref="Matrix4F"/> instance containing the difference.</returns> public static Matrix4F operator -(Matrix4F a, Matrix4F b) { return(Matrix4F.Subtract(a, b)); }
/// <summary> /// Subtracts a matrix from a matrix. /// </summary> /// <param name="left">A <see cref="Matrix4F"/> instance.</param> /// <param name="right">A <see cref="Matrix4F"/> instance.</param> /// <returns>A new <see cref="Matrix4F"/> instance containing the difference.</returns> public static Matrix4F operator -(Matrix4F left, Matrix4F right) { return(Matrix4F.Subtract(left, right));; }