@pmndrs/bvh
    Preparing search index...

    Interface MeshTreeTopology

    The shape of a binary tree over a mesh's triangles.

    • order[i] is the original triangle stored at position i: a permutation of 0 .. triangleCount - 1.
    • children holds four words per node, node 0 being the root: leftIndex, leftCount, rightIndex, rightCount. A child with count > 0 is a leaf of the triangles at positions [index, index + count) of order; count == 0 means the inner node index. Only a one-triangle mesh may have an empty right child (index = TOPOLOGY_EMPTY_CHILD).
    interface MeshTreeTopology {
        children: Uint32Array;
        order: Uint32Array;
    }
    Index
    children: Uint32Array
    order: Uint32Array