crashcat docs
    Preparing search index...

    Function update

    • Parameters

      Returns boolean

      returns true iff the body escaped its fat AABB (a "moved" event the persistent-pair broadphase consumes), false when the containment early-out fired.

      widen-in-place + defer: on escape we REPLACE the leaf's fat box (may shrink — the persistent-pair sweep keys keep/destroy on the fat leaf boxes, so they must track the body, not grow forever), then grow ancestors (grow-only until rebuild) and mark the path changed. no remove/reinsert — the balanced restructure is deferred to the next rebuild. per-move cost is O(depth), typically O(1).