Added a Transform(Vector3f translation,Quaternion rotation,Vector3f scale) constructor

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent 5d6fa1fc0b
commit 9232c71cd7
  1. 5
      engine/src/core/com/jme3/math/Transform.java

@ -57,6 +57,11 @@ public final class Transform implements Savable, Cloneable, java.io.Serializable
this.rot.set(rot);
}
public Transform(Vector3f translation, Quaternion rot, Vector3f scale){
this(translation, rot);
this.scale.set(scale);
}
public Transform(Vector3f translation){
this(translation, Quaternion.IDENTITY);
}

Loading…
Cancel
Save