|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gljava.opengl.model.Mesh
public class Mesh
A Mesh. Contains a list of vertices and faces.
Field Summary | |
---|---|
Face[] |
faces
|
Vector[] |
vertices
|
Constructor Summary | |
---|---|
Mesh()
|
|
Mesh(int vertexCount,
int faceCount)
|
Method Summary | |
---|---|
Face[] |
getFaces()
Gets the value of faces |
Vector[] |
getVertices()
Gets the value of vertices |
void |
render(GL gl)
|
void |
setFaces(Face[] argFaces)
Sets the value of faces |
void |
setVertices(Vector[] argVertices)
Sets the value of vertices |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Vector[] vertices
public Face[] faces
Constructor Detail |
---|
public Mesh()
public Mesh(int vertexCount, int faceCount)
Method Detail |
---|
public void render(GL gl)
public Vector[] getVertices()
public void setVertices(Vector[] argVertices)
argVertices
- Value to assign to this.verticespublic Face[] getFaces()
public void setFaces(Face[] argFaces)
argFaces
- Value to assign to this.facespublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |