From 5b0b916c561f602723b9ae80f5462a7939b652a1 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 13 Aug 2020 20:06:29 +0200 Subject: Pathtracing working with defuse and emissive lighting --- app/draw.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/draw.hpp') diff --git a/app/draw.hpp b/app/draw.hpp index 41d5d9c..f8e93a4 100644 --- a/app/draw.hpp +++ b/app/draw.hpp @@ -2,6 +2,7 @@ #define DRAW_H #include +#include #include class DrawWidget : public QWidget { @@ -15,9 +16,14 @@ class DrawWidget : public QWidget { unsigned m_width, m_height; ~DrawWidget(); + private slots: + void redraw(); + private: QImage m_img; unsigned char i; + + QTimer m_timer; }; #endif -- cgit v1.2.3