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

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

public class ObjMesh3D
extends Mesh3D


Constructor Summary
ObjMesh3D(Context c, int resourceId)
           
ObjMesh3D(java.io.InputStream inputStream)
           
 
Method Summary
 void create(java.io.InputStream inputStream)
           
 void draw(GL10 gl)
          Draw the entity into the GL10 context
 
Methods inherited from class es.ucm.look.ar.ar3D.core.drawables.Mesh3D
getArmarture, setNormalBuffer, setVertexBuffer, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjMesh3D

public ObjMesh3D(Context c,
                 int resourceId)

ObjMesh3D

public ObjMesh3D(java.io.InputStream inputStream)
Method Detail

create

public void create(java.io.InputStream inputStream)

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