Function nalgebra_glm::quat_rotate_normalized_axis
source · Expand description
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.