src/gl/partrenderer.cpp

changeset 340
e17e07661f4c
parent 338
719b909a7d2b
child 359
73b6c478378e
equal deleted inserted replaced
339:4787d05e9c89 340:e17e07661f4c
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 PartRenderer::PartRenderer( 37 PartRenderer::PartRenderer(
38 Model* model, 38 QTextDocument* model,
39 DocumentManager* documents, 39 DocumentManager* documents,
40 const ColorTable& colorTable, 40 const ColorTable& colorTable,
41 QWidget* parent) : 41 QWidget* parent) :
42 QOpenGLWidget{parent}, 42 QOpenGLWidget{parent},
43 model{model}, 43 model{model},

mercurial