|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.geometry.Mesh
public class Mesh
A concave 2D polygon that has been tessellated into OpenGL primitives.
| Constructor Summary | |
|---|---|
Mesh()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mesh()
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||