Three.js BVH

three-mesh-bvh
Github: https://github.com/gkjohnson/three-mesh-bvh
NPM: https://www.npmjs.com/package/three-mesh-bvh
A Bounding Volume Hierarchy (BVH) implementation to speed up raycasting and enable spatial queries against three.js meshes. See the associated Wikipedia article for more information on bounding volume hierarchies and how they work.