コード例 #1
0
 public static bool operator !=(Matrix3x4 matrix1, Matrix3x4 matrix2)
 {
     return(MatrixHelper.NotEqual(matrix1.M11, matrix2.M11) ||
            MatrixHelper.NotEqual(matrix1.M21, matrix2.M21) ||
            MatrixHelper.NotEqual(matrix1.M31, matrix2.M31) ||
            MatrixHelper.NotEqual(matrix1.M12, matrix2.M12) ||
            MatrixHelper.NotEqual(matrix1.M22, matrix2.M22) ||
            MatrixHelper.NotEqual(matrix1.M32, matrix2.M32) ||
            MatrixHelper.NotEqual(matrix1.M13, matrix2.M13) ||
            MatrixHelper.NotEqual(matrix1.M23, matrix2.M23) ||
            MatrixHelper.NotEqual(matrix1.M33, matrix2.M33) ||
            MatrixHelper.NotEqual(matrix1.M14, matrix2.M14) ||
            MatrixHelper.NotEqual(matrix1.M24, matrix2.M24) ||
            MatrixHelper.NotEqual(matrix1.M34, matrix2.M34));
 }
コード例 #2
0
 public static bool operator ==(Matrix3x4 matrix1, Matrix3x4 matrix2)
 {
     return(MatrixHelper.AreEqual(matrix1.M11, matrix2.M11) &&
            MatrixHelper.AreEqual(matrix1.M21, matrix2.M21) &&
            MatrixHelper.AreEqual(matrix1.M31, matrix2.M31) &&
            MatrixHelper.AreEqual(matrix1.M12, matrix2.M12) &&
            MatrixHelper.AreEqual(matrix1.M22, matrix2.M22) &&
            MatrixHelper.AreEqual(matrix1.M32, matrix2.M32) &&
            MatrixHelper.AreEqual(matrix1.M13, matrix2.M13) &&
            MatrixHelper.AreEqual(matrix1.M23, matrix2.M23) &&
            MatrixHelper.AreEqual(matrix1.M33, matrix2.M33) &&
            MatrixHelper.AreEqual(matrix1.M14, matrix2.M14) &&
            MatrixHelper.AreEqual(matrix1.M24, matrix2.M24) &&
            MatrixHelper.AreEqual(matrix1.M34, matrix2.M34));
 }
コード例 #3
0
ファイル: Matrix4x3.cs プロジェクト: zsybupt/corefxlab
 public static bool operator !=(Matrix4x3 matrix1, Matrix4x3 matrix2)
 {
     return(MatrixHelper.NotEqual(matrix1.M11, matrix2.M11) ||
            MatrixHelper.NotEqual(matrix1.M21, matrix2.M21) ||
            MatrixHelper.NotEqual(matrix1.M31, matrix2.M31) ||
            MatrixHelper.NotEqual(matrix1.M41, matrix2.M41) ||
            MatrixHelper.NotEqual(matrix1.M12, matrix2.M12) ||
            MatrixHelper.NotEqual(matrix1.M22, matrix2.M22) ||
            MatrixHelper.NotEqual(matrix1.M32, matrix2.M32) ||
            MatrixHelper.NotEqual(matrix1.M42, matrix2.M42) ||
            MatrixHelper.NotEqual(matrix1.M13, matrix2.M13) ||
            MatrixHelper.NotEqual(matrix1.M23, matrix2.M23) ||
            MatrixHelper.NotEqual(matrix1.M33, matrix2.M33) ||
            MatrixHelper.NotEqual(matrix1.M43, matrix2.M43));
 }
コード例 #4
0
 public static bool operator !=(Matrix3x1 matrix1, Matrix3x1 matrix2)
 {
     return(MatrixHelper.NotEqual(matrix1.M11, matrix2.M11) ||
            MatrixHelper.NotEqual(matrix1.M21, matrix2.M21) ||
            MatrixHelper.NotEqual(matrix1.M31, matrix2.M31));
 }
コード例 #5
0
 public static bool operator ==(Matrix3x1 matrix1, Matrix3x1 matrix2)
 {
     return(MatrixHelper.AreEqual(matrix1.M11, matrix2.M11) &&
            MatrixHelper.AreEqual(matrix1.M21, matrix2.M21) &&
            MatrixHelper.AreEqual(matrix1.M31, matrix2.M31));
 }
コード例 #6
0
ファイル: Matrix1x3.cs プロジェクト: zsybupt/corefxlab
 public static bool operator !=(Matrix1x3 matrix1, Matrix1x3 matrix2)
 {
     return(MatrixHelper.NotEqual(matrix1.M11, matrix2.M11) ||
            MatrixHelper.NotEqual(matrix1.M12, matrix2.M12) ||
            MatrixHelper.NotEqual(matrix1.M13, matrix2.M13));
 }
コード例 #7
0
ファイル: Matrix1x3.cs プロジェクト: zsybupt/corefxlab
 public static bool operator ==(Matrix1x3 matrix1, Matrix1x3 matrix2)
 {
     return(MatrixHelper.AreEqual(matrix1.M11, matrix2.M11) &&
            MatrixHelper.AreEqual(matrix1.M12, matrix2.M12) &&
            MatrixHelper.AreEqual(matrix1.M13, matrix2.M13));
 }