|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphysics.Shell
physics.BoxShell
public class BoxShell
| Field Summary |
|---|
| Fields inherited from class physics.Shell |
|---|
pos |
| Constructor Summary | |
|---|---|
BoxShell(ReadableVector3f pos,
float length,
float height)
|
|
| Method Summary | |
|---|---|
boolean |
contains(ReadableVector3f v)
|
void |
draw()
|
GameMath.MapDir |
getDirection(ReadableVector3f p)
|
float |
getHeight()
|
float |
getLength()
|
Vector3f |
intersects(Shell shell)
|
Vector3f |
testCollision(ReadableVector3f v1,
ReadableVector3f v2)
|
| Methods inherited from class physics.Shell |
|---|
getPos |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoxShell(ReadableVector3f pos,
float length,
float height)
| Method Detail |
|---|
public float getLength()
public float getHeight()
public Vector3f testCollision(ReadableVector3f v1,
ReadableVector3f v2)
testCollision in class Shellpublic boolean contains(ReadableVector3f v)
public Vector3f intersects(Shell shell)
intersects in class Shellpublic GameMath.MapDir getDirection(ReadableVector3f p)
public void draw()
draw in class Shell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||