12 using real3 = std::array<real_t, 3>;
Cast rays to determine if and where they intersect geometry.
A wrapper for Intel's Embree Library.
A simple hit struct to carry all relevant information about hits.
bool Occluded(const real3 &origin, const real3 &direction, real_t distance)
HitStruct< real_t > Intersect(const real3 &origin, const real3 &direction)
std::array< real_t, 3 > real3