@pmndrs/bvh
    Preparing search index...

    Function bvhHelperIndices

    • The index buffer three-mesh-bvh's BVHHelper draws bvhHelperPositions with: 12 edges per box as line segments (edges), or 12 triangles. 16-bit when positions has at most 65,535 numbers, as three-mesh-bvh decides.

      Parameters

      • positions: Float32Array
      • edges: boolean

      Returns Uint32Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike>