|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.imp3d.gl20.GL20Resource de.grogra.imp3d.gl20.GL20ResourceShape de.grogra.imp3d.gl20.GL20ResourceShapeSphere
public class GL20ResourceShapeSphere
Field Summary |
---|
Constructor Summary | |
---|---|
GL20ResourceShapeSphere()
|
Method Summary | |
---|---|
void |
applyGeometry()
tell this GL20ResourceShape that it should apply the
geometry to the GL20GfxServer |
void |
destroy()
destroy this GL20ResourceShapeSphere |
float |
getRadius()
get the radius of this GL20ResourceShapeSphere |
boolean |
isUpToDate()
check if this GL20ResourceShapeSphere is up to date. |
void |
setRadius(float radius)
set the radius of this GL20ResourceShapeSphere |
void |
update()
update the state of this GL20ResourceShapeSphere |
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 GL20ResourceShapeSphere()
Method Detail |
---|
public void applyGeometry()
GL20ResourceShape
that it should apply the
geometry to the GL20GfxServer
applyGeometry
in class GL20ResourceShape
public void destroy()
GL20ResourceShapeSphere
destroy
in class GL20ResourceShape
GL20Resource
public final float getRadius()
GL20ResourceShapeSphere
public boolean isUpToDate()
GL20ResourceShapeSphere
is up to date.
isUpToDate
in class GL20ResourceShape
true
- this GL20ResourceShapeSphere
is up to dateGL20Resource
public final void setRadius(float radius)
GL20ResourceShapeSphere
radius
- the radiuspublic void update()
GL20ResourceShapeSphere
update
in class GL20ResourceShape
GL20Resource
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |