Ray Tracing, Bounding Volume Hierarchy, Bvh, Axis Aligned, Tetrahedron Octahedron.
parametric distance for the two additional planes on the -(x+y+z) axis. Then, we end up with: Ray-AABB test extended to a Ray-AABO test Besides one additional min/max operation in selecting the min/max component of tmin/tmax in line 7, it is pretty much the same algorithm just using vec4 instead of