@pmndrs/bvh
    Preparing search index...

    Interface BvhPointsInput

    Points (or the vertices of segments) as three draws them: positions, an optional index and a range of entries.

    interface BvhPointsInput {
        count?: number;
        indices?:
            | Uint32Array<ArrayBufferLike>
            | Uint16Array<ArrayBufferLike>
            | null;
        positions: Float32Array;
        start?: number;
    }

    Hierarchy (View Summary)

    Index
    count?: number

    Entries from start, as a draw range's count (clamped to the entries there are). Default all.

    indices?: Uint32Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | null

    Vertex per entry; omit and entry i is vertex i.

    positions: Float32Array

    x, y, z per vertex.

    start?: number

    First entry, as a draw range's start. Default 0.