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); }
public void setScale(Vector3 S) { tmp.setScale(S); transformMat.rightCompose(tmp); }
public void setTranslate(Vector3 T) { tmp.setTranslate(T); transformMat.rightCompose(tmp); }
public Group() { transformMat = new Matrix4(); transformMat.setIdentity(); }