6#include <Common/primitive_type.h>
14template<
typename Index>
Lightweight ray intersection testing and reporting object. If an intersection is found,...
Definition HitProbe.h:27
Definition Intersector.h:14
Represents a ray in space.
Definition Ray.h:21
Classic binary BVH acceleration structure.
Definition TBinaryBvhIntersector.h:16
void rebuildWithIntersectables(TSpanView< const Intersectable * > intersectables)
Definition TBinaryBvhIntersector.ipp:68
bool isIntersecting(const Ray &ray, HitProbe &probe) const override
Determine whether a given ray hits the object.
Definition TBinaryBvhIntersector.ipp:27
math::AABB3D calcAABB() const override
Calculates Axis-Aligned Bounding Box (AABB) of itself.
Definition TBinaryBvhIntersector.ipp:55
void update(TSpanView< const Intersectable * > intersectables) override
Definition TBinaryBvhIntersector.ipp:20
Definition TLinearDepthFirstBinaryBvh.h:21
The root for all renderer implementations.
Definition EEngineProject.h:6
std::span< const T, EXTENT > TSpanView
Same as TSpan, except that the objects are const-qualified. Note that for pointer types,...
Definition TSpan.h:19