Example #1
0
        private static Matrix3D CreateIdentity()
        {
            Matrix3D matrix3D = new Matrix3D();

            matrix3D.SetMatrix(1, 0, 0, 0,
                               0, 1, 0, 0,
                               0, 0, 1, 0,
                               0, 0, 0, 1);
            return(matrix3D);
        }
Example #2
0
        private static Matrix3D CreateIdentity()
        {
            Matrix3D matrix3D = default;

            matrix3D.SetMatrix(1, 0, 0, 0,
                               0, 1, 0, 0,
                               0, 0, 1, 0,
                               0, 0, 0, 1);
            return(matrix3D);
        }
Example #3
0
 private static Matrix3D CreateIdentity()
 {
     Matrix3D matrix3D = new Matrix3D();
     matrix3D.SetMatrix(1, 0, 0, 0,
                        0, 1, 0, 0,
                        0, 0, 1, 0,
                        0, 0, 0, 1);
     return matrix3D;
 }