[][src]Function nalgebra_glm::quat_to_mat4

pub fn quat_to_mat4<N: RealField>(x: &Qua<N>) -> TMat4<N>

Converts a quaternion to a rotation matrix in homogenous coordinates.