::hwat::math::ConvertMatrixToRotations
Convert a cosine matrix into three successive rotations.
Syntax
::hwat::math::ConvertMatrixToRotations d_MatrixList
Arguments
- d_MatrixList
 - The list contains 9 elements – 3 rotation components for X, Y, and Z respectively
 
Returns
- Success
 - 1; matrix appears to be valid. The ordered rotation list: {rotX rotY
                            rotZ} on success: 
- rotX – rotation X component
 - rotY – rotation Y component
 - rotZ – rotation Z component
 
 - Failure
 - {}; matrix is not valid transform matrix
 
Example
::hwat::math::ConvertMatrixToRotations $theMatrixList
        Comments
The rotation order is always X, then Y, and then Z.