| Modifier and Type | Method and Description |
|---|---|
static boolean |
Intersectionf.intersectRayAab(Rayf ray,
AABBf aabb,
org.joml.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 boolean |
Intersectionf.intersectRayAab(Rayf ray,
AABBi aabb,
org.joml.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,
org.joml.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 |
AABBfc.intersectsRay(Rayf ray)
Test whether the given ray intersects this AABB.
|
boolean |
AABBi.intersectsRay(Rayf ray) |
boolean |
AABBf.intersectsRay(Rayf ray) |
boolean |
AABBic.intersectsRay(Rayf ray)
Test whether the given ray intersects this AABB.
|
boolean |
AABBfc.intersectsRay(Rayf ray,
org.joml.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.
|
boolean |
AABBi.intersectsRay(Rayf ray,
org.joml.Vector2f result) |
boolean |
AABBf.intersectsRay(Rayf ray,
org.joml.Vector2f result) |
boolean |
AABBic.intersectsRay(Rayf ray,
org.joml.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.testRayAab(Rayf ray,
AABBf aabb)
Test whether the given ray intersects the given axis-aligned box.
|
static boolean |
Intersectionf.testRayAab(Rayf ray,
AABBi 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.
|
| Constructor and Description |
|---|
Rayf(Rayf source)
Create a new
Rayf as a copy of the given source. |
Copyright © 2020 JOML. All rights reserved.