es.ucm.look.ar.ar3D
Interface Drawable3D

All Known Implementing Classes:
Button, CirclePrimitive, Cube, Entity3D, Grid, ImagePrimitive, LinePrimitive, LinesLoopPrimitive, Mesh3D, ObjMesh3D, PointPrimitive, Ring, SquarePrimitive, TrianglePrimitive, WorldEntity

public interface Drawable3D

Implemented by all those classes that can be drawn in a GL10 context


Method Summary
 void draw(GL10 gl)
          Draws the element in the GL10 context
 void update(long elapsed)
          Updates drawable with the elapsed time
 

Method Detail

draw

void draw(GL10 gl)
Draws the element in the GL10 context

Parameters:
gl - the GL10 context

update

void update(long elapsed)
Updates drawable with the elapsed time

Parameters:
elapsed - elapsed time since last update