Loading

Q->

quaternions

The Q-> function consumes on the stack a quaternion representation into a long and push back the quaternion into 4 doubles (w, x, y, z, with z being on top).

Each quaternion dimension is encoded with 16 bits.

Q-> is available since version 1.0.0.

See also

Signatures

Examples

// Rotate by 90 degrees about y axis -2701737564586278913 Q->