From 4348cc9581bfea05359485c5d2d074132d0271da Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 6 Aug 2020 19:21:49 +0200 Subject: Renders scenes with a single hardcoded light and green objects --- app/mainwindow.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app/mainwindow.hpp') 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 #include "draw.hpp" +#include "rendercoord.hpp" +#include class MainWindow : public QMainWindow { Q_OBJECT public: - MainWindow(); + MainWindow(Renderer r); private: - DrawWidget drawer; - + DrawWidget m_drawer; + RenderCoordinator m_render; }; #endif -- cgit v1.2.3