|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.geometry.AbstractMesh
de.rico.engine.geometry.MeshDL
de.rico.engine.geometry.billboard.Billboard
public class Billboard
This class can be used to draw a billboarded rectangle.
Constructor Summary | |
---|---|
Billboard(float width,
float height)
Creates a new billboard. |
Method Summary | |
---|---|
float |
getHeight()
Returns the height of the billboard. |
float |
getWidth()
Returns the width of the billboard. |
void |
specializedDraw(javax.media.opengl.GL gl)
This method contains only the drawing operation fitting to the special kind of mesh. |
Methods inherited from class de.rico.engine.geometry.MeshDL |
---|
addFace, destroy, draw, finishModel, getDisplayListId, getFaces, getFacesTransformed, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Billboard(float width, float height)
width
- width of the billboardheight
- height of the billboardMethod Detail |
---|
public float getWidth()
public float getHeight()
public void specializedDraw(javax.media.opengl.GL gl)
AbstractMesh
specializedDraw
in class MeshDL
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |