src/glRenderer.cpp

changeset 1109
a55b2608a395
parent 1108
90d6f4b7782e
child 1110
ec3ee7da7806
equal deleted inserted replaced
1108:90d6f4b7782e 1109:a55b2608a395
66 66
67 const QPen GLRenderer::thinBorderPen {QColor {0, 0, 0, 208}, 1, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin}; 67 const QPen GLRenderer::thinBorderPen {QColor {0, 0, 0, 208}, 1, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin};
68 68
69 // ============================================================================= 69 // =============================================================================
70 // 70 //
71 GLRenderer::GLRenderer(Model* model, QWidget* parent) : 71 GLRenderer::GLRenderer(const Model* model, QWidget* parent) :
72 QGLWidget {parent}, 72 QGLWidget {parent},
73 HierarchyElement {parent}, 73 HierarchyElement {parent},
74 m_model {model} 74 m_model {model}
75 { 75 {
76 m_camera = (Camera) m_config->camera(); 76 m_camera = (Camera) m_config->camera();

mercurial