public static Matrix33 operator +(Matrix33 matrix1, Matrix33 matrix2) { Matrix33 matrix = new Matrix33(); matrix.m00 = matrix1.M00 + matrix2.m00; matrix.m01 = matrix1.M01 + matrix2.m01; matrix.m02 = matrix1.M02 + matrix2.m02; matrix.m10 = matrix1.M10 + matrix2.m10; matrix.m11 = matrix1.M11 + matrix2.m11; matrix.m12 = matrix1.M12 + matrix2.m12; matrix.m20 = matrix1.M20 + matrix2.m20; matrix.m21 = matrix1.M21 + matrix2.m21; matrix.m22 = matrix1.M22 + matrix2.m22; matrix.ToEuler(); return(matrix); }
private Vector3 GetEulerRotation() { return(transformedMatrix.ToEuler()); }