diff options
-rw-r--r-- | gfx/models/mesh.cpp | 12 | ||||
-rw-r--r-- | gfx/models/mesh.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/gfx/models/mesh.cpp b/gfx/models/mesh.cpp index 3faf252..52c9275 100644 --- a/gfx/models/mesh.cpp +++ b/gfx/models/mesh.cpp @@ -21,18 +21,6 @@ Mesh::configureVAO(VertexArrayObject && vao) const .addIndices(m_vertexArrayBuffers[1]);
}
-GLsizei
-Mesh::count() const
-{
- return m_numIndices;
-}
-
-GLenum
-Mesh::type() const
-{
- return mode;
-}
-
void
Mesh::Draw() const
{
diff --git a/gfx/models/mesh.h b/gfx/models/mesh.h index a2205a1..538c57a 100644 --- a/gfx/models/mesh.h +++ b/gfx/models/mesh.h @@ -16,8 +16,6 @@ public: void Draw() const;
void DrawInstanced(GLuint vao, GLsizei count) const;
VertexArrayObject & configureVAO(VertexArrayObject &&) const;
- GLsizei count() const;
- GLenum type() const;
private:
glVertexArray m_vertexArrayObject;
|