public class Mesh
extends java.lang.Object
| Constructor and Description |
|---|
Mesh() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(int argGlPrimitiveType)
Begin a group of primitives.
|
void |
draw(javax.media.opengl.GL gl)
Draw the mesh using glBegin() and glVertex().
|
void |
drawOutline(javax.media.opengl.GL gl)
Draw the mesh as an outline of its components.
|
void |
drawPoints(javax.media.opengl.GL gl)
Draw the mesh as a bunch of points.
|
void |
end()
Called to end a group of primitives.
|
void |
vertex(float x,
float y)
Adds a vertex to the group of primitives.
|
public void begin(int argGlPrimitiveType)
public void draw(javax.media.opengl.GL gl)
public void drawOutline(javax.media.opengl.GL gl)
public void drawPoints(javax.media.opengl.GL gl)
public void end()
public void vertex(float x,
float y)