예제 #1
0
 public Instance scale(float x, float y, float z) {
   invTransform.multiply(Matrix4.newInvScale(x, y, z));
   return this;
 }
예제 #2
0
 public Instance rotateZ(float angle) {
   invTransform.multiply(Matrix4.newInvRotationZ(angle));
   return this;
 }
예제 #3
0
 public Instance translate(float x, float y, float z) {
   invTransform.multiply(Matrix4.newInvTranslation(x, y, z));
   return this;
 }
예제 #4
0
 public Instance translate(Vector3 position) {
   invTransform.multiply(Matrix4.newInvTranslation(position));
   return this;
 }
예제 #5
0
 public Instance scale(float scale) {
   invTransform.multiply(Matrix4.newInvScale(scale));
   return this;
 }