boolean |
AABBf.intersectRay(Rayf ray,
Vector2f result) |
Determine whether the given ray intersects this AABB, and return the values of the parameter t in the ray equation
p(t) = origin + t * dir of the near and far point of intersection.
|
static boolean |
Intersectionf.intersectRayAab(Rayf ray,
AABBf aabb,
Vector2f result) |
Test whether the given ray intersects given the axis-aligned box
and return the values of the parameter t in the ray equation p(t) = origin + t * dir of the near and far point of intersection..
|
static float |
Intersectionf.intersectRayPlane(Rayf ray,
Planef plane,
float epsilon) |
Test whether the given ray intersects the given plane, and return the
value of the parameter t in the ray equation p(t) = origin + t * dir of the intersection point.
|
static boolean |
Intersectionf.intersectRaySphere(Rayf ray,
Spheref sphere,
Vector2f result) |
Test whether the given ray intersects the given sphere,
and store the values of the parameter t in the ray equation p(t) = origin + t * dir for both points (near
and far) of intersections into the given result vector.
|
boolean |
AABBf.testRay(Rayf ray) |
Test whether the given ray intersects this AABB.
|
static boolean |
Intersectionf.testRayAab(Rayf ray,
AABBf aabb) |
Test whether the given ray intersects the given axis-aligned box.
|
static boolean |
Intersectionf.testRaySphere(Rayf ray,
Spheref sphere) |
Test whether the given ray intersects the given sphere.
|