Given a bounding box and a line (two points), determine if the line intersects the box
Asked 2010-07-13T08:29:03.223
13
Given a bounding box, with definitions like bounds.min.(x/y/z), bounds.max.(x/y/z), and two points in 3D space (expressed as Vector3 objects), how can I determine if the line made by the two points intersects the bounding box?