Model [outdated] - Fish-In-A-Suit/Conquest GitHub Wiki
package renderEngine;
public class Model {
private int vaoID;
private int vertexCount;
public Model(int vaoID, int vertexCount) {
this.vaoID = vaoID;
this.vertexCount = vertexCount;
}
public int getVaoID() {
return vaoID;
}
public int getVertexCount() {
return vertexCount;
}
}
This class represents a 3D model stored in memory.
Every model has vaoID, which represents the id of it's VAO and vertexCount, which represents how many vertices that model has.