export class BVHThreeCompat {
    triangleCount;
    nodes;
    constructor(triangleCount) {
        this.triangleCount = triangleCount;
        const nodeCount = Math.max(1, Math.ceil(triangleCount / 64));
        this.nodes = Array.from({ length: nodeCount }, (_, id) => ({ id, triangleStart: id * 64, triangleCount: Math.min(64, triangleCount - id * 64) }));
    }
}
//# sourceMappingURL=BVH.js.map