41 lines
776 B
Java
41 lines
776 B
Java
package io.github.hydos.ginger.engine.obj;
|
|
|
|
public class ModelData {
|
|
|
|
private float[] vertices;
|
|
private float[] textureCoords;
|
|
private float[] normals;
|
|
private int[] indices;
|
|
private float furthestPoint;
|
|
|
|
public ModelData(float[] vertices, float[] textureCoords, float[] normals, int[] indices,
|
|
float furthestPoint) {
|
|
this.vertices = vertices;
|
|
this.textureCoords = textureCoords;
|
|
this.normals = normals;
|
|
this.indices = indices;
|
|
this.furthestPoint = furthestPoint;
|
|
}
|
|
|
|
public float[] getVertices() {
|
|
return vertices;
|
|
}
|
|
|
|
public float[] getTextureCoords() {
|
|
return textureCoords;
|
|
}
|
|
|
|
public float[] getNormals() {
|
|
return normals;
|
|
}
|
|
|
|
public int[] getIndices() {
|
|
return indices;
|
|
}
|
|
|
|
public float getFurthestPoint() {
|
|
return furthestPoint;
|
|
}
|
|
|
|
}
|