Some cleanups

This commit is contained in:
2021-01-13 19:03:47 +01:00
parent 89ae811beb
commit 0370a2e871
24 changed files with 321 additions and 237 deletions

View File

@@ -40,3 +40,8 @@ void Mesh::drawWithoutTextures()
glDrawElements(GL_TRIANGLES, numElements, GL_UNSIGNED_INT, 0);
vertexArray.unbind();
}
VertexArray* Mesh::getVertexArray()
{
return &vertexArray;
}