diff -r eee644f88e93 -r 3af627f7a40f src/gl/partrenderer.h --- a/src/gl/partrenderer.h Sat Feb 08 00:08:57 2020 +0200 +++ b/src/gl/partrenderer.h Thu Feb 13 12:51:27 2020 +0200 @@ -10,6 +10,7 @@ #include "main.h" #include "gl/common.h" #include "gl/compiler.h" +#include "gl/gridprogram.h" class PartRenderer : public QOpenGLWidget, protected QOpenGLFunctions { @@ -44,6 +45,7 @@ glm::mat4 projectionMatrix; glm::mat4 viewMatrix; glm::quat modelQuaternion; + std::optional gridProgram; static constexpr double MIN_ZOOM = 0.0; static constexpr double MAX_ZOOM = 3.0; double zoom = 1.0;