intersectsBVH method

bool intersectsBVH(
  1. BVH bvh
)

Performs a ray/BVH intersection test. Returns either true or false if there is a intersection or not.

Implementation

bool intersectsBVH(BVH bvh ) {
	return bvh.root!.intersectsRay( this );
}