51 class GLRenderer : public QGLWidget, protected QOpenGLFunctions, public HierarchyElement |
51 class GLRenderer : public QGLWidget, protected QOpenGLFunctions, public HierarchyElement |
52 { |
52 { |
53 Q_OBJECT |
53 Q_OBJECT |
54 |
54 |
55 public: |
55 public: |
|
56 enum { BlackRgb = 0xff000000 }; |
|
57 |
56 GLRenderer(const Model* model, QWidget* parent = nullptr); |
58 GLRenderer(const Model* model, QWidget* parent = nullptr); |
57 ~GLRenderer(); |
59 ~GLRenderer(); |
58 |
60 |
59 Camera camera() const; |
61 Camera camera() const; |
60 GLCamera& currentCamera(); |
62 GLCamera& currentCamera(); |