]> git.sur5r.net Git - fstl/blob - src/glmesh.h
Mostly complete from the Python original
[fstl] / src / glmesh.h
1 #ifndef GLMESH_H
2 #define GLMESH_H
3
4 #include <QtOpenGL/QGLBuffer>
5
6 class Mesh;
7
8 class GLMesh
9 {
10 public:
11     GLMesh(const Mesh* const mesh);
12     void draw(GLuint vp);
13 private:
14     QGLBuffer vertices;
15     QGLBuffer indices;
16 };
17
18 #endif // GLMESH_H