es.ucm.look.ar.ar3D.core.drawables.primitives
Class PointPrimitive

java.lang.Object
  extended by es.ucm.look.ar.ar3D.core.drawables.Mesh3D
      extended by es.ucm.look.ar.ar3D.core.drawables.primitives.PointPrimitive
All Implemented Interfaces:
Drawable3D

public class PointPrimitive
extends Mesh3D


Constructor Summary
PointPrimitive(Point3 p)
           
 
Method Summary
 void draw(GL10 gl)
          Draw the entity into the GL10 context
 void setPoint(Point3 p)
           
 void update(long elapsed)
          Updates entity for the elapsed time
 
Methods inherited from class es.ucm.look.ar.ar3D.core.drawables.Mesh3D
getArmarture, setNormalBuffer, setVertexBuffer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointPrimitive

public PointPrimitive(Point3 p)
Method Detail

draw

public void draw(GL10 gl)
Description copied from class: Mesh3D
Draw the entity into the GL10 context

Specified by:
draw in interface Drawable3D
Overrides:
draw in class Mesh3D
Parameters:
gl - GL10 context

setPoint

public void setPoint(Point3 p)

update

public void update(long elapsed)
Description copied from class: Mesh3D
Updates entity for the elapsed time

Specified by:
update in interface Drawable3D
Overrides:
update in class Mesh3D
Parameters:
elapsed - elapsed time since last update