Пример #1
0
 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);
 }
Пример #2
0
 public void setScale(Vector3 S) {
   tmp.setScale(S);
   transformMat.rightCompose(tmp);
 }
Пример #3
0
 public void setTranslate(Vector3 T) {
   tmp.setTranslate(T);
   transformMat.rightCompose(tmp);
 }