File size: 445 Bytes
b24de8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { Box3 } from "./Box3";
declare class BVHNode {
    bounds: Box3;
    boxes: Box3[];
    left: BVHNode | null;
    right: BVHNode | null;
    pointIndices: number[];
    constructor(bounds: Box3, boxes: Box3[], pointIndices: number[]);
    private split;
    queryRange(range: Box3): number[];
}
declare class BVH {
    root: BVHNode;
    constructor(bounds: Box3, boxes: Box3[]);
    queryRange(range: Box3): number[];
}
export { BVH };