es.ucm.look.ar.ar3D.core.drawables.primitives
Class LinePrimitive
java.lang.Object
es.ucm.look.ar.ar3D.core.drawables.Mesh3D
es.ucm.look.ar.ar3D.core.drawables.primitives.LinePrimitive
- All Implemented Interfaces:
- Drawable3D
public class LinePrimitive
- extends Mesh3D
Method Summary |
void |
draw(GL10 gl)
Draw the entity into the GL10 context |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinePrimitive
public LinePrimitive(float x1,
float y1,
float z1,
float x2,
float y2,
float z2)
LinePrimitive
public LinePrimitive(Point3 p1,
Point3 p2)
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