23 #include <QMessageBox> |
23 #include <QMessageBox> |
24 #include <QAbstractButton> |
24 #include <QAbstractButton> |
25 #include "geometry.h" |
25 #include "geometry.h" |
26 #include "partrenderer.h" |
26 #include "partrenderer.h" |
27 #include "model.h" |
27 #include "model.h" |
|
28 |
|
29 static constexpr double MIN_ZOOM = -3.0; |
|
30 static constexpr double MAX_ZOOM = 3.0; |
28 |
31 |
29 PartRenderer::PartRenderer( |
32 PartRenderer::PartRenderer( |
30 Model* model, |
33 Model* model, |
31 DocumentManager* documents, |
34 DocumentManager* documents, |
32 const ldraw::ColorTable& colorTable, |
35 const ldraw::ColorTable& colorTable, |