@pmndrs/bvh
    Preparing search index...

    Interface PosedLayout

    A mesh tree refit to a new pose on the CPU (refitLayoutToPose).

    interface PosedLayout {
        bounds: Float32Array;
        nodes: ArrayBuffer;
        triangles: ArrayBuffer | null;
    }
    Index
    bounds: Float32Array

    The posed root box, [minX, minY, minZ, maxX, maxY, maxZ].

    nodes: ArrayBuffer

    f32 nodes (64 bytes each), refit: their boxes are exact for the pose.

    triangles: ArrayBuffer | null

    48-byte records with the posed corners (flags, ids and padding kept); null for an indexed tree, whose triangles name vertices and don't change.