From 5326f294ceb95f1b535d145b5fdbdc221f560d53 Mon Sep 17 00:00:00 2001 From: ccolin Date: Sun, 3 Jan 2021 19:55:04 +0100 Subject: add option to draw trajectories --- src/opengl_widget.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/opengl_widget.hh') 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(); -- cgit v1.2.3-70-g09d2