|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gljava.opengl.model.Face
public class Face
One face of a Mesh. vertex1, vertex2 and vertex3 are indexes into an array of vertices
Field Summary | |
---|---|
int |
vertex1
|
int |
vertex2
|
int |
vertex3
|
Constructor Summary | |
---|---|
Face(int v1,
int v2,
int v3)
|
Method Summary | |
---|---|
int |
getVertex1()
Gets the value of vertex1 |
int |
getVertex2()
Gets the value of vertex2 |
int |
getVertex3()
Gets the value of vertex3 |
void |
setVertex1(int argVertex1)
Sets the value of vertex1 |
void |
setVertex2(int argVertex2)
Sets the value of vertex2 |
void |
setVertex3(int argVertex3)
Sets the value of vertex3 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int vertex1
public int vertex2
public int vertex3
Constructor Detail |
---|
public Face(int v1, int v2, int v3)
Method Detail |
---|
public int getVertex1()
public void setVertex1(int argVertex1)
argVertex1
- Value to assign to this.vertex1public int getVertex2()
public void setVertex2(int argVertex2)
argVertex2
- Value to assign to this.vertex2public int getVertex3()
public void setVertex3(int argVertex3)
argVertex3
- Value to assign to this.vertex3
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |