33 #include <QGLFunctions>
34 #include <QGLShaderProgram>
35 #include <QOpenGLFunctions>
37 namespace cavapa_gui {
71 void initGridGeometry();
73 const int gridWidth = 80;
74 const int gridDepth = 80;
93 std::vector<GLfloat> vertices;
94 std::vector<GLushort> indices;
96 std::vector<GLfloat> axisvertices;
97 std::vector<GLushort> axisindices;
99 std::vector<GLfloat> cubevertices;
100 std::vector<GLushort> cubeindices;
107 #endif // GRIDENGINE_H
Draws a grid with OpenGL.
Definition: gridengine.h:48
void initialize()
Definition: gridengine.cpp:53
void drawGridGeometry(QGLShaderProgram *program)
Draws the grid.
Definition: gridengine.cpp:189