Loading

QROTATION


quaternions
Since v1.0.0
Available on all platforms

The QROTATION extracts the axis and angle of the rotation represented by the quaternion on the stack.

Signature

Examples

// Rotate by 180 degrees about y axis 0.0 0.0 1.0 0.0 ->Q QROTATION // Extract the rotation (180) // Extract the axis (0 1 0 -z-y-x-)