diff options
Diffstat (limited to 'src/graphics/Mesh.hpp')
-rw-r--r-- | src/graphics/Mesh.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics/Mesh.hpp b/src/graphics/Mesh.hpp index 577a32a..e509310 100644 --- a/src/graphics/Mesh.hpp +++ b/src/graphics/Mesh.hpp @@ -6,10 +6,11 @@ class Mesh { GLuint VAO, VBO, EBO; + GLenum mode; size_t number_indices; public: - Mesh(Vertex *vertices, size_t num_vert, + Mesh(GLenum primitive, Vertex *vertices, size_t num_vert, GLuint *indices, size_t num_indices); ~Mesh(); |