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