gkjohnson / three-mesh-bvh

A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes.
https://gkjohnson.github.io/three-mesh-bvh/example/bundle/raycast.html
MIT License
2.5k stars 261 forks source link

MeshBVHHelper: Add ability to display bvh without mesh.geometry.boundsTree #614

Closed gkjohnson closed 8 months ago

gkjohnson commented 8 months ago
new MeshBVHHelper( mesh, bvh, depth )

new MeshBVHHelper( mesh | bvh, depth )