blob: d0fba694a250b37b8e4ecec71e6c260338105edb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef GEOMETRYENGINE_H
#define GEOMETRYENGINE_H
#include <QtOpenGL/QGLFunctions>
#include <QtOpenGL/QGLShaderProgram>
class GeometryEngine : protected QGLFunctions
{
public:
GeometryEngine();
virtual ~GeometryEngine();
void init();
void drawCubeGeometry(QGLShaderProgram *program);
private:
void initCubeGeometry();
GLuint *vboIds;
};
#endif // GEOMETRYENGINE_H
|