aboutsummaryrefslogtreecommitdiff
path: root/app/mainwindow.hpp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-08-06 19:21:49 +0200
committerJulian T <julian@jtle.dk>2020-08-06 19:22:37 +0200
commit4348cc9581bfea05359485c5d2d074132d0271da (patch)
tree0c6d92a90ac4cf9acd326f632dcdc962ddca013a /app/mainwindow.hpp
parent893176a0b18a2281abe09def716ccc3db5583c3f (diff)
Renders scenes with a single hardcoded light and green objects
Diffstat (limited to 'app/mainwindow.hpp')
-rw-r--r--app/mainwindow.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/mainwindow.hpp b/app/mainwindow.hpp
index a6c1be3..7e356a0 100644
--- a/app/mainwindow.hpp
+++ b/app/mainwindow.hpp
@@ -4,16 +4,18 @@
#include <QMainWindow>
#include "draw.hpp"
+#include "rendercoord.hpp"
+#include <render.hpp>
class MainWindow : public QMainWindow {
Q_OBJECT
public:
- MainWindow();
+ MainWindow(Renderer r);
private:
- DrawWidget drawer;
-
+ DrawWidget m_drawer;
+ RenderCoordinator m_render;
};
#endif