67 lines
1.2 KiB
Java
67 lines
1.2 KiB
Java
package net.minecraftforge.client.model.obj;
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
public class Face {
|
|
|
|
public int[] vertIndices;
|
|
public int[] normIndices;
|
|
public int[] texIndices;
|
|
private Vertex[] vertices;
|
|
private Vertex[] normals;
|
|
private TextureCoordinate[] textures;
|
|
|
|
private int glDrawingMode;
|
|
|
|
public int[] getIndices() {
|
|
|
|
return vertIndices;
|
|
}
|
|
|
|
public Vertex[] getVertices() {
|
|
|
|
return vertices;
|
|
}
|
|
|
|
public void setIndices(int[] indices) {
|
|
|
|
vertIndices = indices;
|
|
}
|
|
|
|
public void setVertices(Vertex[] vertices) {
|
|
|
|
this.vertices = vertices;
|
|
}
|
|
|
|
public int getDrawingMode() {
|
|
|
|
return glDrawingMode;
|
|
}
|
|
|
|
public void setDrawingMode(int glDrawingMode) {
|
|
|
|
this.glDrawingMode = glDrawingMode;
|
|
}
|
|
|
|
public Vertex[] getNormals() {
|
|
|
|
return normals;
|
|
}
|
|
|
|
public void setNormals(Vertex[] normals) {
|
|
|
|
this.normals = normals;
|
|
}
|
|
|
|
public TextureCoordinate[] getTextures() {
|
|
|
|
return textures;
|
|
}
|
|
|
|
public void setTextures(TextureCoordinate[] textures) {
|
|
|
|
this.textures = textures;
|
|
}
|
|
}
|