crashcat docs
    Preparing search index...

    Type Alias DBVT

    type DBVT = {
        bounds: number[];
        dirty: boolean;
        expansionMargin: number;
        freeNodeIndices: number[];
        maxDepthMarkChanged: number;
        root: number;
        topo: number[];
    }
    Index

    Properties

    bounds: number[]

    packed-double node bounds, stride 6 (see file header)

    dirty: boolean

    any structural change (add / remove / fat-leaf escape) since the last rebuild. gates the dirty-gated rebuild in broadphase.optimize — a tree that no body has disturbed (e.g. a settled static field) stays clean and is never rebuilt.

    expansionMargin: number

    the fat-leaf expansion margin (in world units) applied to each leaf AABB

    freeNodeIndices: number[]
    maxDepthMarkChanged: number

    rebuild marks the top N levels changed so they always re-partition

    root: number
    topo: number[]

    packed-SMI node topology, stride 5 (see file header)