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
This commit is contained in:
parent
5d6fa1fc0b
commit
9232c71cd7
@ -57,6 +57,11 @@ public final class Transform implements Savable, Cloneable, java.io.Serializable
|
|||||||
this.rot.set(rot);
|
this.rot.set(rot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Transform(Vector3f translation, Quaternion rot, Vector3f scale){
|
||||||
|
this(translation, rot);
|
||||||
|
this.scale.set(scale);
|
||||||
|
}
|
||||||
|
|
||||||
public Transform(Vector3f translation){
|
public Transform(Vector3f translation){
|
||||||
this(translation, Quaternion.IDENTITY);
|
this(translation, Quaternion.IDENTITY);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user