Unreverted back change http://code.google.com/p/jmonkeyengine/source/detail?r=7142 because change is so fun :D, and it's more logical...i guess
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7164 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
dc030c897f
commit
109c6b4ef7
@ -347,7 +347,7 @@ public final class Bone implements Savable {
|
||||
|
||||
/**
|
||||
* Set user transform.
|
||||
* The transforms are used as increments to current translations
|
||||
* Combine the given transforms to bone's current transforms
|
||||
* @see setUserControl
|
||||
*/
|
||||
public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3f scale) {
|
||||
@ -361,7 +361,7 @@ public final class Bone implements Savable {
|
||||
|
||||
localPos.addLocal(translation);
|
||||
localRot = localRot.mult(rotation);
|
||||
localScale.addLocal(scale);
|
||||
localScale.multLocal(scale);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user