pub fn to_axis_angle<T>(q: Quaternion<T>) -> (Vector3<T>, T) where
    T: Float
Expand description

Compute the rotation axis (unit vector) and the rotation angle[rad] around the axis from the versor.

If identity quaternion is entered, angle returns zero and the axis returns a zero vector.

Range of angle: (-π, π]