Thin wrapper around the three-mesh-bvh library’s MeshBVH class with some additional specific functionality.
AccelerationStructure
is the functional element of the bottom-level acceleration
structure. Each individual object will have it’s own BVH, encapsulated by an
AccelerationStructure
object.
raycast
but stops at first intersection found.
Parameters