Converts a quaternion to angle-axis representation. The resulting angle-axis representation is stored in the provided array.
The quaternion to convert, represented as a 4-element array [x, y, z, w].
The array to store the angle-axis representation. If not provided, a new array will be created.
The angle-axis representation as a 4-element array [x, y, z, angle].
Converts a quaternion to angle-axis representation. The resulting angle-axis representation is stored in the provided array.