| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
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. |
static boolean |
Intersectiond.intersectSphereSphere(Spheref sphereA,
Spheref sphereB,
Vector4d centerAndRadiusOfIntersectionCircle)
Test whether the one sphere with intersects the other sphere, and store the center of the circle of
intersection in the
(x, y, z) components of the supplied vector and the radius of that circle in the w component. |
static boolean |
Intersectionf.intersectSphereSphere(Spheref sphereA,
Spheref sphereB,
Vector4f centerAndRadiusOfIntersectionCircle)
Test whether the one sphere with intersects the other sphere, and store the center of the circle of
intersection in the
(x, y, z) components of the supplied vector and the radius of that circle in the w component. |
static boolean |
Intersectiond.testAabSphere(AABBd aabb,
Spheref sphere)
Test whether the given axis-aligned box intersects the given sphere.
|
static boolean |
Intersectionf.testAabSphere(AABBf aabb,
Spheref sphere)
Test whether the given axis-aligned box intersects the given sphere.
|
static boolean |
Intersectiond.testPlaneSphere(Planed plane,
Spheref sphere)
Test whether the given plane intersects the given sphere with center.
|
static boolean |
Intersectionf.testPlaneSphere(Planef plane,
Spheref sphere)
Test whether the given plane intersects the given sphere with center.
|
static boolean |
Intersectiond.testRaySphere(Rayd ray,
Spheref sphere)
Test whether the given ray intersects the given sphere.
|
static boolean |
Intersectionf.testRaySphere(Rayf ray,
Spheref sphere)
Test whether the given ray intersects the given sphere.
|
boolean |
AABBf.testSphere(Spheref sphere)
Test whether this AABB intersects the given sphere.
|
boolean |
AABBd.testSphere(Spheref sphere)
Test whether this AABB intersects the given sphere.
|
| Constructor and Description |
|---|
Spheref(Spheref source)
Create a new
Spheref as a copy of the given source. |
Copyright © 2015–2019 JOML. All rights reserved.