Loading

ROTATIONQ

quaternions

The ROTATIONQ function consumes on the stack 4 doubles representing a rotation vector and pushes back quaternion representation into a long.

ROTATIONQ is available since version 1.0.0.

See also

Signatures

Examples

// Rotate by 180 degrees about y axis 0.0 1.0 0.0 180.0 ROTATIONQ // Quaternion into a long // convert it into w x y z Q->