src/gl/partrenderer.cpp

changeset 120
8c9fff699241
parent 119
24275a4064f4
child 150
b6cbba6e29a1
--- a/src/gl/partrenderer.cpp	Wed Jul 28 08:23:09 2021 +0300
+++ b/src/gl/partrenderer.cpp	Wed Jul 28 13:22:51 2021 +0300
@@ -26,6 +26,9 @@
 #include "partrenderer.h"
 #include "model.h"
 
+static constexpr double MIN_ZOOM = -3.0;
+static constexpr double MAX_ZOOM = 3.0;
+
 PartRenderer::PartRenderer(
 	Model* model,
 	DocumentManager* documents,

mercurial