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

pub fn quat_rotate_normalized_axis<N: RealField>(

q: &Qua<N>,

angle: N,

axis: &TVec3<N>

) -> Qua<N>

Rotates a quaternion from a vector of 3 components normalized axis and an angle.

# Parameters:

`q`

- Source orientation.`angle`

- Angle expressed in radians.`axis`

- Normalized axis of the rotation, must be normalized.