|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.imp3d.gl20.GL20Resource
de.grogra.imp3d.gl20.GL20ResourceShape
de.grogra.imp3d.gl20.GL20ResourceShapeLine
public class GL20ResourceShapeLine
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
GL20ResourceShapeLine()
|
|
| Method Summary | |
|---|---|
void |
applyGeometry()
tell this GL20ResourceShape that it should apply the
geometry to the GL20GfxServer |
void |
destroy()
destroy this GL20ResourceShapeLine |
boolean |
isUpToDate()
check if this GL20ResourceShapeLine is up to date. |
void |
setColor(Vector4f color)
|
void |
setLineCoordinates(Vector3f start,
Vector3f end)
set the start and end coordinates |
void |
update()
update the state of this GL20ResourceShapeLine |
| Methods inherited from class de.grogra.imp3d.gl20.GL20ResourceShape |
|---|
getShader, getShapeTransformationMatrix, getWorldTransformationMatrix, setShader, setShapeTransformationMatrix, setWorldTransformationMatrix |
| Methods inherited from class de.grogra.imp3d.gl20.GL20Resource |
|---|
getResourceClass, getResourceClassType, getResourceType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GL20ResourceShapeLine()
| Method Detail |
|---|
public void applyGeometry()
GL20ResourceShape that it should apply the
geometry to the GL20GfxServer
applyGeometry in class GL20ResourceShapepublic void destroy()
GL20ResourceShapeLine
destroy in class GL20ResourceShapeGL20Resourcepublic boolean isUpToDate()
GL20ResourceShapeLine is up to date.
isUpToDate in class GL20ResourceShapetrue - this GL20ResourceShapeLine is up to dateGL20Resourcepublic final void setColor(Vector4f color)
public final void setLineCoordinates(Vector3f start,
Vector3f end)
start and end coordinates
start - the start coordinates of the lineend - the end coordinates of the linepublic void update()
GL20ResourceShapeLine
update in class GL20ResourceShapeGL20Resource
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||