I understand that if slabs in all 3 axis overlap, the ray hits the bounding volume. However, the aabb class only stores 2 vectors. I don't understand how only two vectors are enough to represent a 3D cuboid.
Also, is there a dedicated forum for asking questions such as these? Although this is not the correct place to ask such a question, this was the only public place I could find.