예제 #1
0
        //!Apply rotate[X,Y,Z,XYZ] specialisations by sebastien bloc
        //!Apply an OpenGL rotation matrix to this
        public GLMatrix4d applyRotateX(double angle)
        {
            GLMatrix4d temp = new GLMatrix4d();

            temp.loadRotateX(angle);
            return(mult3by3(temp));
        }
예제 #2
0
        //!Apply an OpenGL rotation matrix to this
        public GLMatrix4d applyRotateXYZ(double x, double y, double z)
        {
            GLMatrix4d temp = new GLMatrix4d();

            temp.loadRotateX(x);
            mult3by3(temp);
            temp.loadRotateY(y);
            mult3by3(temp);
            temp.loadRotateZ(z);
            return(mult3by3(temp));
        }
예제 #3
0
 //!Apply an OpenGL rotation matrix to this
 public GLMatrix4d applyRotateXYZ(double x,double y,double z)
 {
     GLMatrix4d temp = new GLMatrix4d();
     temp.loadRotateX(x);
     mult3by3(temp);
     temp.loadRotateY(y);
     mult3by3(temp);
     temp.loadRotateZ(z);
     return mult3by3(temp);
 }
예제 #4
0
 //!Apply rotate[X,Y,Z,XYZ] specialisations by sebastien bloc
 //!Apply an OpenGL rotation matrix to this
 public GLMatrix4d applyRotateX(double angle)
 {
     GLMatrix4d temp = new GLMatrix4d();
     temp.loadRotateX(angle);
     return mult3by3(temp);
 }