Beispiel #1
0
 public static bool operator ==(Matrix1x4 matrix1, Matrix1x4 matrix2)
 {
     return(MatrixHelper.AreEqual(matrix1.M11, matrix2.M11) &&
            MatrixHelper.AreEqual(matrix1.M12, matrix2.M12) &&
            MatrixHelper.AreEqual(matrix1.M13, matrix2.M13) &&
            MatrixHelper.AreEqual(matrix1.M14, matrix2.M14));
 }
Beispiel #2
0
 public static bool operator ==(Matrix2x2 matrix1, Matrix2x2 matrix2)
 {
     return(MatrixHelper.AreEqual(matrix1.M11, matrix2.M11) &&
            MatrixHelper.AreEqual(matrix1.M21, matrix2.M21) &&
            MatrixHelper.AreEqual(matrix1.M12, matrix2.M12) &&
            MatrixHelper.AreEqual(matrix1.M22, matrix2.M22));
 }
Beispiel #3
0
 public static bool operator ==(Matrix4x1 matrix1, Matrix4x1 matrix2)
 {
     return(MatrixHelper.AreEqual(matrix1.M11, matrix2.M11) &&
            MatrixHelper.AreEqual(matrix1.M21, matrix2.M21) &&
            MatrixHelper.AreEqual(matrix1.M31, matrix2.M31) &&
            MatrixHelper.AreEqual(matrix1.M41, matrix2.M41));
 }
Beispiel #4
0
 public static bool operator ==(Matrix3x3 matrix1, Matrix3x3 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));
 }
Beispiel #5
0
 public static bool operator ==(Matrix4x4 matrix1, Matrix4x4 matrix2)
 {
     return(MatrixHelper.AreEqual(matrix1.M11, matrix2.M11) &&
            MatrixHelper.AreEqual(matrix1.M21, matrix2.M21) &&
            MatrixHelper.AreEqual(matrix1.M31, matrix2.M31) &&
            MatrixHelper.AreEqual(matrix1.M41, matrix2.M41) &&
            MatrixHelper.AreEqual(matrix1.M12, matrix2.M12) &&
            MatrixHelper.AreEqual(matrix1.M22, matrix2.M22) &&
            MatrixHelper.AreEqual(matrix1.M32, matrix2.M32) &&
            MatrixHelper.AreEqual(matrix1.M42, matrix2.M42) &&
            MatrixHelper.AreEqual(matrix1.M13, matrix2.M13) &&
            MatrixHelper.AreEqual(matrix1.M23, matrix2.M23) &&
            MatrixHelper.AreEqual(matrix1.M33, matrix2.M33) &&
            MatrixHelper.AreEqual(matrix1.M43, matrix2.M43) &&
            MatrixHelper.AreEqual(matrix1.M14, matrix2.M14) &&
            MatrixHelper.AreEqual(matrix1.M24, matrix2.M24) &&
            MatrixHelper.AreEqual(matrix1.M34, matrix2.M34) &&
            MatrixHelper.AreEqual(matrix1.M44, matrix2.M44));
 }