public double[][] RotateX(double x) { Matrix = MyMath.Multiply(Matrix, CreateRotateXMatrix(x)); return(Matrix); }
public double[][] Translate(double x, double y, double z) { Matrix = MyMath.Multiply(Matrix, CreateTranslateMatrix(x, y, z)); TrMatrix = MyMath.Multiply(TrMatrix, Matrix); return(Matrix); }
public double[][] RotateY(double x) { Matrix = MyMath.Multiply(CreateRotateYMatrix(x), Matrix); RotMatrix = MyMath.Multiply(RotMatrix, Matrix); return(Matrix); }
public double[][] Scale(double x, double y, double z) { Matrix = MyMath.Multiply(Matrix, CreateScaleMatrix(x, y, z)); ScMatrix = MyMath.Multiply(ScMatrix, Matrix); return(Matrix); }