@pmndrs/bvh
    Preparing search index...

    Interface SerializeLayoutOptions

    Options of serializeLayout.

    interface SerializeLayoutOptions {
        geometry?: Pick<MeshInput, "indices" | "positions">;
    }
    Index
    geometry?: Pick<MeshInput, "indices" | "positions">

    The geometry the tree was built from: its hash (meshGeometryHash) goes into header words 14-15, and deserializeLayout(bytes, { geometry }) then refuses other geometry. Worth it for an indexed tree, which only works next to its own positions. The file is otherwise the same.