IntersectsRay
This function performs an intersection test between an AABB and a line.
Syntax
- bool IntersectsLine(Vec3 p0, Vec3 p1,number radius=0.0)
Parameters
- p0: the starting point of the line.
- p1: the end point of the line.
- radius: an optional radius value can be used to test intersection with a cylinder.
Returns
Returns true if the AABB and line intersect, otherwise false is returned.