pub fn quat_rotate_normalized_axis<T: RealNumber>(
    q: &Qua<T>,
    angle: T,
    axis: &TVec3<T>
) -> Qua<T>
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.