//!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)); }
//!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 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); }