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(); |