aboutsummaryrefslogtreecommitdiffstats
path: root/include/scene.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/scene.hpp')
-rw-r--r--include/scene.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scene.hpp b/include/scene.hpp
index cb0ea88..82ffb3d 100644
--- a/include/scene.hpp
+++ b/include/scene.hpp
@@ -7,12 +7,12 @@
#include "camera.hpp"
#include "bvh-node.hpp"
+#include "vk-renderer.hpp"
class scene {
struct metadata {
camera cam;
- // uint32_t max_bounce = 50;
uint32_t max_bounce = 3;
uint32_t min_bounce = 1;
@@ -32,7 +32,7 @@ class scene {
// void random_scene();
public:
- scene(camera cam, uint32_t width, uint32_t height);
+ scene(camera cam, uint32_t width, uint32_t height, vkrenderer &renderer);
metadata meta;