Slab-tests a ray against one oriented box, in the box's local space
Where the ray starts
The ray's direction; must be normalised
The box to test against
How far along the ray to look
Receives the surface normal at the hit
The distance to the hit, or null
Slab-tests a ray against one oriented box, in the box's local space