public void setRotate(Point3 R) { tmp.setRotate(R.z, Z_AXIS); transformMat.rightCompose(tmp); tmp.setRotate(R.y, Y_AXIS); transformMat.rightCompose(tmp); tmp.setRotate(R.x, X_AXIS); transformMat.rightCompose(tmp); }