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

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

public class Ring
extends Mesh3D


Constructor Summary
Ring(Point3 center, float radius, float width, int iterations, Color4 c)
           
 
Method Summary
 void draw(GL10 gl)
          Draw the entity into the GL10 context
 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

Ring

public Ring(Point3 center,
            float radius,
            float width,
            int iterations,
            Color4 c)
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

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