UNPKG

@threlte/extras

Version:

Utilities, abstractions and plugins for your Threlte apps

6 lines (5 loc) 368 B
import { Points, Mesh, BatchedMesh } from 'three'; import type { BVHOptions } from './types.js'; export declare const createMeshBVH: (mesh: Mesh, opts: BVHOptions) => () => void; export declare const createBatchedMeshBVH: (mesh: BatchedMesh, opts: BVHOptions) => () => void; export declare const createPointsBVH: (points: Points<any>, opts: BVHOptions) => () => void;