physics
Class SphericalShell
java.lang.Object
physics.Shell
physics.SphericalShell
public class SphericalShell
- extends Shell
| Fields inherited from class physics.Shell |
pos |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SphericalShell
public SphericalShell(ReadableVector3f pos,
float radius)
getRadius
public float getRadius()
isInside
public boolean isInside(ReadableVector3f v)
isInside
public boolean isInside(SphericalShell s)
testCollision
public Vector3f testCollision(ReadableVector3f p1,
ReadableVector3f p2)
- Specified by:
testCollision in class Shell
intersects
public Vector3f intersects(Shell shell)
- Specified by:
intersects in class Shell
intersects
public Vector3f intersects(SphericalShell shell)
intersects
public Vector3f intersects(BoxShell shell)