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