src/gl/partrenderer.cpp

changeset 120
8c9fff699241
parent 119
24275a4064f4
child 150
b6cbba6e29a1
equal deleted inserted replaced
119:24275a4064f4 120:8c9fff699241
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,

mercurial