# [−][src]Function nalgebra_glm::quat_rotate_vec

pub fn quat_rotate_vec<N: Real>(q: &Qua<N>, v: &TVec4<N>) -> TVec4<N>

Rotates a vector in homogeneous coordinates by a quaternion assumed to be normalized.

pub fn quat_rotate_vec<N: Real>(q: &Qua<N>, v: &TVec4<N>) -> TVec4<N>

Rotates a vector in homogeneous coordinates by a quaternion assumed to be normalized.