equivalent-exchange-3/ee3_common/net/minecraftforge/client/model/obj/Face.java

69 lines
1.4 KiB
Java
Raw Normal View History

package net.minecraftforge.client.model.obj;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class Face {
2013-03-15 20:18:01 +01:00
public int[] vertexIndices;
public int[] vertexNormalIndices;
public int[] textureCoordinateIndices;
private Vertex[] vertices;
2013-03-15 20:18:01 +01:00
private Vertex[] vertexNormals;
private TextureCoordinate[] textureCoordinates;
private int glDrawingMode;
2013-03-15 20:18:01 +01:00
public int[] getVertexIndices() {
2013-03-15 20:18:01 +01:00
return vertexIndices;
}
public Vertex[] getVertices() {
return vertices;
}
2013-03-15 20:18:01 +01:00
public void setVertexIndices(int[] vertexIndices) {
2013-03-15 20:18:01 +01:00
this.vertexIndices = vertexIndices;
}
public void setVertices(Vertex[] vertices) {
this.vertices = vertices;
}
public int getDrawingMode() {
return glDrawingMode;
}
public void setDrawingMode(int glDrawingMode) {
this.glDrawingMode = glDrawingMode;
}
2013-03-15 20:18:01 +01:00
public Vertex[] getVertexNormals() {
2013-03-15 20:18:01 +01:00
return vertexNormals;
}
2013-03-15 20:18:01 +01:00
public void setVertexNormals(Vertex[] vertexNormals) {
2013-03-15 20:18:01 +01:00
this.vertexNormals = vertexNormals;
}
2013-03-15 20:18:01 +01:00
public TextureCoordinate[] getTextureCoordinates() {
2013-03-15 20:18:01 +01:00
return textureCoordinates;
}
2013-03-15 20:18:01 +01:00
public void setTextureCoordinates(TextureCoordinate[] textureCoordinates) {
2013-03-15 20:18:01 +01:00
this.textureCoordinates = textureCoordinates;
}
}