Function wt::intersect::intersect_ray_aabb(const ray_t&, aabb_t, const pqrange_t<>&)

Function Documentation

inline pqrange_t wt::intersect::intersect_ray_aabb(const ray_t &r, aabb_t aabb, const pqrange_t<> &range = pqrange_t<>::positive()) noexcept

Ray-AABB intersection test. Returns intersection range. If range is empty, no intersection occurs.