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