public class Face
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
GL_QUADS |
static int |
GL_TRIANGLES |
int[] |
normIndices |
static int |
POLY_FACE |
int[] |
texIndices |
int[] |
vertIndices |
Constructor and Description |
---|
Face() |
Modifier and Type | Method and Description |
---|---|
int[] |
getIndices() |
Vertex[] |
getNormals() |
TextureCoordinate[] |
getTextures() |
int |
getType() |
Vertex[] |
getVertices() |
void |
setIndices(int[] indices) |
void |
setNormals(Vertex[] normals) |
void |
setTextures(TextureCoordinate[] textures) |
void |
setType(int type) |
void |
setVertices(Vertex[] vertices) |
public static int GL_TRIANGLES
public static int GL_QUADS
public static int POLY_FACE
public int[] vertIndices
public int[] normIndices
public int[] texIndices
public int[] getIndices()
public Vertex[] getVertices()
public void setIndices(int[] indices)
public void setVertices(Vertex[] vertices)
public int getType()
public void setType(int type)
public Vertex[] getNormals()
public void setNormals(Vertex[] normals)
public TextureCoordinate[] getTextures()
public void setTextures(TextureCoordinate[] textures)