blob: 577a32a7e746e9a8e79943c1e5fd99e2fd358060 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef ENGINE_MESH_H
#define ENGINE_MESH_H
#include <GL/glew.h>
#include "../graphics/Vertex.hpp"
class Mesh {
GLuint VAO, VBO, EBO;
size_t number_indices;
public:
Mesh(Vertex *vertices, size_t num_vert,
GLuint *indices, size_t num_indices);
~Mesh();
void Draw();
};
#endif /* ENGINE_VERTEX_H */
|