|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.ucm.look.ar.ar3D.core.drawables.Mesh3D
public abstract class Mesh3D
Represents an 3D object that can be drawn.
Constructor Summary | |
---|---|
Mesh3D()
Constructs an entity |
Method Summary | |
---|---|
void |
draw(GL10 gl)
Draw the entity into the GL10 context |
Armature |
getArmarture()
Returns an Armature in the local system coordiantes of this
entity |
void |
setNormalBuffer(java.nio.FloatBuffer normalBuffer)
|
void |
setVertexBuffer(java.nio.FloatBuffer vertexBuffer)
|
void |
update(long elapsed)
Updates entity for the elapsed time |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mesh3D()
id
- Entity idMethod Detail |
---|
public void draw(GL10 gl)
GL10
context
draw
in interface Drawable3D
gl
- GL10
contextpublic Armature getArmarture()
Armature
in the local system coordiantes of this
entity
Armature
in the local system coordiantes of this
entitypublic void setNormalBuffer(java.nio.FloatBuffer normalBuffer)
public void setVertexBuffer(java.nio.FloatBuffer vertexBuffer)
public void update(long elapsed)
update
in interface Drawable3D
elapsed
- elapsed time since last update
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |