Draws a grid with OpenGL. More...
#include <gridengine.h>
Public Member Functions | |
void | initialize () |
void | drawGridGeometry (QGLShaderProgram *program) |
Draws the grid. More... | |
Draws a grid with OpenGL.
The grid is drawn in the XZ plane and its center is in (0,0,0).
void cavapa_gui::GridEngine::drawGridGeometry | ( | QGLShaderProgram * | program | ) |
Draws the grid.
*program | Specifies the OpenGL shader program to be used. |
void cavapa_gui::GridEngine::initialize | ( | ) |