forked from LeenkxTeam/LNXSDK
Repe [T3DU] and Moises Jpelaez updates
This commit is contained in:
@ -286,7 +286,7 @@ class Transform {
|
||||
public function applyParentInverse() {
|
||||
var pt = object.parent.transform;
|
||||
pt.buildMatrix();
|
||||
temp.getInverse(pt.world);
|
||||
temp.getInverse(pt.local);
|
||||
this.local.multmat(temp);
|
||||
this.decompose();
|
||||
this.buildMatrix();
|
||||
@ -295,7 +295,7 @@ class Transform {
|
||||
public function applyParent() {
|
||||
var pt = object.parent.transform;
|
||||
pt.buildMatrix();
|
||||
this.local.multmat(pt.world);
|
||||
this.local.multmat(pt.local);
|
||||
this.decompose();
|
||||
this.buildMatrix();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user