Decomposes a transformation matrix into its component transformations.
The algorithm for decomposing a matrix is taken from the CSS3 Transforms specification; specifically, the decomposition code is based on the equivalent code published in "Graphics Gems II", edited by Jim Arvo, and available online.
| this |
a Matrix |
| translate |
the translation vector |
| scale |
the scale vector |
| rotate |
the rotation quaternion |
| shear |
the shear vector |
| perspective |
the perspective vector |
|
`true` if the matrix could be decomposed |