Package | Description |
---|---|
thothbot.parallax.core.shared.core |
Contains all core Objects such as Vectors, Matrices and so on which are used overall on the project.
|
thothbot.parallax.core.shared.math |
Different mathematics
|
Modifier and Type | Method and Description |
---|---|
Sphere |
AbstractGeometry.getBoundingSphere() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGeometry.setBoundingSphere(Sphere boundingSphere) |
Modifier and Type | Method and Description |
---|---|
Sphere |
Sphere.apply(Matrix4 matrix) |
Sphere |
Sphere.clone() |
Sphere |
Sphere.copy(Sphere sphere) |
Sphere |
Box3.getBoundingSphere() |
Sphere |
Box3.getBoundingSphere(Sphere optionalTarget) |
Sphere |
Sphere.set(Vector3 center,
double radius) |
Sphere |
Sphere.setFromPoints(java.util.List<Vector3> points,
Vector3 optionalCenter) |
Sphere |
Sphere.setFromPoints(Vector3[] points,
Vector3 optionalCenter) |
Sphere |
Sphere.translate(Vector3 offset) |
Modifier and Type | Method and Description |
---|---|
Sphere |
Sphere.copy(Sphere sphere) |
double |
Plane.distanceToSphere(Sphere sphere) |
boolean |
Sphere.equals(Sphere sphere) |
Sphere |
Box3.getBoundingSphere(Sphere optionalTarget) |
Vector3 |
Ray.intersectSphere(Sphere sphere) |
Vector3 |
Ray.intersectSphere(Sphere sphere,
Vector3 optionalTarget)
from http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson-7-intersecting-simple-shapes/ray-sphere-intersection/
|
boolean |
Ray.isIntersectionSphere(Sphere sphere) |
boolean |
Sphere.isIntersectsSphere(Sphere sphere) |
boolean |
Frustum.isIntersectsSphere(Sphere sphere) |