Support Forum G3D Web Page |
Static Public Member Functions | |
static bool | rayAABox (const PrecomputedRay &ray, const AABox &box) |
Returns true if the intersection of the ray and the solid box is non-empty. More... | |
static bool | rayAABox (const PrecomputedRay &ray, const AABox &box, float &time) |
Returns true if the intersection of the ray and the solid box is non-empty. More... | |
|
static |
Returns true if the intersection of the ray and the solid box is non-empty.
|
static |
Returns true if the intersection of the ray and the solid box is non-empty.
time | If there is an intersection, set to the time to that intersection. If the ray origin is inside the box, this is a negative value indicating the distance backwards from the ray origin to the first intersection. time is not set if there is no intersection. |