| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AABBd.intersectRay(Rayd ray,
Vector2d 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 |
Intersectiond.intersectRayAab(Rayd ray,
AABBd aabb,
Vector2d 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 double |
Intersectiond.intersectRayPlane(Rayd ray,
Planed plane,
double 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 |
Intersectiond.intersectRaySphere(Rayd ray,
Spheref sphere,
Vector2d 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 |
AABBd.testRay(Rayd ray)
Test whether the given ray intersects this AABB.
|
static boolean |
Intersectiond.testRayAab(Rayd ray,
AABBd aabb)
Test whether the given ray intersects the given axis-aligned box.
|
static boolean |
Intersectiond.testRaySphere(Rayd ray,
Spheref sphere)
Test whether the given ray intersects the given sphere.
|
| Constructor and Description |
|---|
Rayd(Rayd source)
Create a new
Rayd as a copy of the given source. |
Copyright © 2015–2019 JOML. All rights reserved.