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.56k stars 268 forks source link

MeshBVH tests log assertion that triangles are not encapsulated but doesn't fail? #265

Closed gkjohnson closed 3 years ago

gkjohnson commented 3 years ago

This is actually expected because we deliberately break one of the bounds for a test 😵

https://github.com/gkjohnson/three-mesh-bvh/blob/9a412aa54dd9c9333b3ebad4f3a2b3159371cbdd/test/MeshBVH.test.js#L175-L176