src/glrenderer.h

changeset 1278
6e1ea24e5a5e
parent 1251
e75cc5bff076
child 1306
be85306198a2
equal deleted inserted replaced
1277:821c30615069 1278:6e1ea24e5a5e
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();

mercurial