matrix.to.euler

Syntax

v = matrix.to.euler(m)

Convert a rotation matrix to Euler angles. The rotation matrix is a 3 × 3 matrix, and the returned Euler angles are in radians, with the convention of rotation about the X, Y’, and Z’’ axes.

Returns:v - Euler angles in radians
Arguments:m - matrix pointer to a 3 × 3 matrix