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