コード例 #1
0
ファイル: Matrix4F.cs プロジェクト: ekampf/Sharp3D.Math
 /// <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));
 }
コード例 #2
0
 /// <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));
 }
コード例 #3
0
ファイル: Matrix4F.cs プロジェクト: ekampf/Sharp3D.Math
 /// <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));
 }
コード例 #4
0
 /// <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));;
 }