BBH struct

An axis-aligned bounding box hierarchy acceleration structure.

Base classes

class SurfaceGroup
A collection of Surfaces grouped together.

Public functions

void build() override
Construct the BBH (must be called before intersect)
auto intersect(const Ray3f& ray, HitInfo& hit) const -> bool override
Intersect a ray against all surfaces registered with the Accelerator.