nalgebra_glm
pub fn to_quat<T: RealField>(x: &TMat4<T>) -> Qua<T>
Converts a rotation matrix in homogeneous coordinates to a quaternion.