Loading

QROTATION

quaternions

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

QROTATION is available since version 1.0.0.

Signatures

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-)