Page 1 of 1

getScale() Negative Scaling Factor support in matrix4

Posted: Tue Feb 28, 2017 12:00 am
by devsh
if you check if the determinant is 0 and invert one of the returned scale value's components (i.e. Z) you get a mathematically equivalent scale (you may end up with an extra rotation where there wasnt one before). Regular Irrlicht doesnt have this and we cant actually reconstruct the same matrix from a set of decomposed scales, rotations and translations.