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

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