physics
Class CylindricalShell
java.lang.Object
physics.Shell
physics.CylindricalShell
public class CylindricalShell
- 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 |
CylindricalShell
public CylindricalShell(ReadableVector3f pos,
float radius,
float height)
setRadius
public void setRadius(float radius)
setHeight
public void setHeight(float height)
intersects
public Vector3f intersects(Shell shell)
- Specified by:
intersects in class Shell
intersects
public Vector3f intersects(CylindricalShell shell)
intersects
public Vector3f intersects(BoxShell rect)
testCollision
public Vector3f testCollision(ReadableVector3f v1,
ReadableVector3f v2)
- Specified by:
testCollision in class Shell
draw
public void draw()
- Overrides:
draw in class Shell