Function nalgebra_glm::quat_to_mat4[][src]

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

Converts a quaternion to a rotation matrix in homogenous coordinates.