Validates a value as four finite numbers.
The quaternion is not renormalized: a document stores what it was given and restores it bit for bit, so a round trip cannot quietly change a rotation.
the candidate { x, y, z, w }
{ x, y, z, w }
a dotted path used in error messages
the frozen, canonical quaternion document
TypeError if a component is missing or not finite
Validates a value as four finite numbers.
The quaternion is not renormalized: a document stores what it was given and restores it bit for bit, so a round trip cannot quietly change a rotation.