diff options
Diffstat (limited to 'gfx/models/mesh.h')
-rw-r--r-- | gfx/models/mesh.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/models/mesh.h b/gfx/models/mesh.h index 71f6dce..248cb8f 100644 --- a/gfx/models/mesh.h +++ b/gfx/models/mesh.h @@ -3,7 +3,6 @@ #include "gfx/gl/vertexArrayObject.h" #include <glArrays.h> #include <glad/gl.h> -#include <memory> #include <span> #include <stdTypeDefs.h> @@ -12,7 +11,7 @@ class Vertex; class MeshBase { public: void Draw() const; - void DrawInstanced(GLuint vao, GLsizei count) const; + void DrawInstanced(GLuint vao, GLsizei count, GLuint base = 0) const; protected: MeshBase(GLsizei m_numIndices, GLenum mode); |