22 #include <QPainter> |
22 #include <QPainter> |
23 #include <GL/glu.h> |
23 #include <GL/glu.h> |
24 #include <QMouseEvent> |
24 #include <QMouseEvent> |
25 #include <QMessageBox> |
25 #include <QMessageBox> |
26 #include <QAbstractButton> |
26 #include <QAbstractButton> |
27 #include "geometry.h" |
27 #include "src/geometry.h" |
28 #include "partrenderer.h" |
28 #include "src/model.h" |
29 #include "model.h" |
29 #include "src/settings.h" |
30 #include "gl/compiler.h" |
30 #include "src/gl/partrenderer.h" |
31 #include "gl/debug.h" |
31 #include "src/gl/compiler.h" |
32 #include "settings.h" |
32 #include "src/gl/debug.h" |
33 |
33 |
34 static constexpr double MIN_ZOOM = -3.0; |
34 static constexpr double MIN_ZOOM = -3.0; |
35 static constexpr double MAX_ZOOM = 3.0; |
35 static constexpr double MAX_ZOOM = 3.0; |
36 |
36 |
37 QOpenGLFunctions& glfunc() |
37 QOpenGLFunctions& glfunc() |