Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }