corrected one Invert call to Inverse in line 215
This commit is contained in:
parent
d406904ee6
commit
3b9e18cf4f
|
|
@ -212,7 +212,7 @@ template <class S,class RotationType> void Similarity<S,RotationType>::FromMatri
|
||||||
tra[2] = t.ElementAt(2, 3);t[2][3] = 0.0;
|
tra[2] = t.ElementAt(2, 3);t[2][3] = 0.0;
|
||||||
rot.FromMatrix(t);
|
rot.FromMatrix(t);
|
||||||
|
|
||||||
Invert(t);
|
t=Inverse(t);
|
||||||
tra = t * tra;
|
tra = t * tra;
|
||||||
tra/= sca;
|
tra/= sca;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue