Beispiel #1
0
        //!Apply an OpenGL rotation matrix to this
        public GLMatrix4d applyRotateZ(double angle)
        {
            GLMatrix4d temp = new GLMatrix4d();

            temp.loadRotateZ(angle);
            return(mult3by3(temp));
        }
Beispiel #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));
        }
 //!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);
 }
 //!Apply an OpenGL rotation matrix to this
 public GLMatrix4d applyRotateZ(double angle)
 {
     GLMatrix4d temp = new GLMatrix4d();
     temp.loadRotateZ(angle);
     return mult3by3(temp);
 }