Test if a ray intersects an axis-aligned bounding box. Uses slab-based algorithm that handles parallel rays correctly.
ray origin
ray direction
ray length
AABB to test against
true if ray intersects the AABB, false otherwise
Test if a ray intersects an axis-aligned bounding box. Uses slab-based algorithm that handles parallel rays correctly.