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