@pmndrs/bvh
    Preparing search index...

    Interface MeshTreeTopologyOptions

    interface MeshTreeTopologyOptions {
        maxLeafPrimitives?: number;
        nodeFormat?: "f32" | "quantized";
        parents?: boolean;
        triangleLeaves?: "records" | "indexed";
    }
    Index
    maxLeafPrimitives?: number

    Leaves with more triangles than this are cut in half until they fit. At most MAX_LEAF_PRIMITIVES (the default).

    nodeFormat?: "f32" | "quantized"

    The node format: 'f32' (64 bytes, the default) or 'quantized' (32 bytes; docs/internals/design/compressed-nodes.md).

    parents?: boolean

    tinybvh's trees only: false leaves the parents out (an empty array; P9 lever 7). Default true.

    triangleLeaves?: "records" | "indexed"

    The triangle format: 'records' (48 bytes, the default) or 'indexed' (16 bytes; docs/internals/design/indexed-leaves.md).