pub fn rotation_to_euler<T: Float + FloatConst>(r: &M33<T>) -> (T, T, T)
Expand description
Get the euler angles from a rotation matrix comming from the convention ZYX
Function arguments:
r
: a reference to a Rotation matrix(M33<Float>
)
Output:
Euler angles: (yay, pitch, roll)