Documentation
    Preparing search index...

    Type Alias RotationInput

    RotationInput: Quaternion | number

    A rotation accepted by the public API (§21, plan P5-3).

    A number is an angle in radians about +Z (§7a) — the only rotation a "2d" world has — and widens to the equivalent quaternion through resolveRotation. A Quaternion given to a "2d" world must already be a pure Z rotation; anything else is a validation failure rather than a silent projection.