summaryrefslogtreecommitdiff
path: root/gfx/models/mesh.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-26 02:04:17 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-26 02:04:17 +0100
commitc3af3f3ec6aff3e366acb8825413096581c736c1 (patch)
tree27d7a3190934d135cca12a9f9d1f2dc410a73d02 /gfx/models/mesh.cpp
parentDraw rail vehicle classes and foliage with new mesh instance helper (diff)
downloadilt-c3af3f3ec6aff3e366acb8825413096581c736c1.tar.bz2
ilt-c3af3f3ec6aff3e366acb8825413096581c736c1.tar.xz
ilt-c3af3f3ec6aff3e366acb8825413096581c736c1.zip
Revert "Export mesh size and primitive type"
This reverts commit f3343e1cc8a56f039888d4d375a6d5a088a68494.
Diffstat (limited to 'gfx/models/mesh.cpp')
-rw-r--r--gfx/models/mesh.cpp12
1 files changed, 0 insertions, 12 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
{