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

pub fn quat_rotate<N: RealField>(

q: &Qua<N>,

angle: N,

axis: &TVec3<N>

) -> Qua<N>

Builds a quaternion from an axis and an angle, and right-multiply it to the quaternion `q`

.

pub fn quat_rotate<N: RealField>(

q: &Qua<N>,

angle: N,

axis: &TVec3<N>

) -> Qua<N>

Builds a quaternion from an axis and an angle, and right-multiply it to the quaternion `q`

.