Extract the local scale from a matrix

BlitzMax Forums/BlitzMax Programming/Extract the local scale from a matrix

JoshK(Posted 2007) [#1]
The only part of matrices I can't figure out is extracting the scale, relative to the matrice's rotation.

For global scale, you can just take the magnitude of the first 3 rows. But this is not the same thing as the matrice's scale relative to its own rotated axes.


North(Posted 2007) [#2]
No idea really but wouldn't the local scale be a product of the parents scale and the childs scale?
Just thinking ..