Skip to content

Commit 4aae39b

Browse files
committed
log BVH build time
1 parent c2ebd62 commit 4aae39b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/geometry/BVH.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class BVH {
4646
this.subdivide(this.root, 0);
4747

4848
this.buildTime = performance.now() - buildingStartTime;
49+
console.log("BVH build time", this.buildTime);
4950
}
5051

5152
private calculateBounds(node: BoundingBox): void {

0 commit comments

Comments
 (0)