|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimogl.collision.BoundingBox
public class BoundingBox
This class can be used as a bounding box for a mesh
| Constructor Summary | |
|---|---|
BoundingBox(AbstractMesh mesh)
Creates a bounding box for the meshes current triangle coordinates |
|
| Method Summary | |
|---|---|
void |
draw(javax.media.opengl.GL gl)
This method can be used to draw the bounding box |
float |
getHeight()
Returns the height of the bounding box. |
float |
getLength()
Returns the length of the bounding box. |
float |
getWidth()
Returns the width of the bounding box. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundingBox(AbstractMesh mesh)
mesh - mesh to create a bounding box for| Method Detail |
|---|
public float getWidth()
public float getHeight()
public float getLength()
public void draw(javax.media.opengl.GL gl)
gl -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||