aboutsummaryrefslogtreecommitdiff
path: root/src/opengl_widget.hh
diff options
context:
space:
mode:
authorccolin2021-01-03 19:55:04 +0100
committerccolin2021-01-03 19:55:04 +0100
commit5326f294ceb95f1b535d145b5fdbdc221f560d53 (patch)
treea5d9dee2ebfa6413aedd764e901f3df994888614 /src/opengl_widget.hh
parentec4017bb0ff221c5c3e192a165c8d60a54f3bedc (diff)
add option to draw trajectories
Diffstat (limited to 'src/opengl_widget.hh')
-rw-r--r--src/opengl_widget.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl_widget.hh b/src/opengl_widget.hh
index 1bc2bbc..04e2ffc 100644
--- a/src/opengl_widget.hh
+++ b/src/opengl_widget.hh
@@ -28,6 +28,7 @@ class OpenGLWidget : public QOpenGLWidget, public QOpenGLExtraFunctions {
QOpenGLShaderProgram main_program;
QOpenGLShaderProgram skybox_program;
+ QOpenGLShaderProgram line_program;
GLuint skybox_tex;
GLuint skybox_vao;
GLuint skybox_vbo;
@@ -56,6 +57,7 @@ public:
void paintGL() override;
void setPainter(const Painter *p);
QOpenGLShaderProgram *getMainProgram();
+ QOpenGLShaderProgram *getLineProgram();
signals:
void initialized();