diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2022-06-15 23:02:29 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2022-06-15 23:17:36 +0200 |
| commit | 5692f616c6201b39184e4353b6a4cb850a84a450 (patch) | |
| tree | e03976fb7c855b7719d9b68bd129b89a8519b712 /include/scene.hpp | |
| parent | 5a4595ec5990abc660acb48ca2fe1f282bbe213b (diff) | |
Fix formatting and linting
Diffstat (limited to 'include/scene.hpp')
| -rw-r--r-- | include/scene.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/scene.hpp b/include/scene.hpp index 4bce1a7..8e47ab0 100644 --- a/include/scene.hpp +++ b/include/scene.hpp @@ -1,9 +1,6 @@ #ifndef __SCENE_HPP_
#define __SCENE_HPP_
-#include "vec3.hpp"
-#include "sphere.hpp"
-#include "triangle.hpp"
#include "camera.hpp"
#include "bvh-node.hpp"
@@ -26,7 +23,7 @@ class scene { int32_t downscale_factor = 1;
metadata(camera cam, uint32_t width, uint32_t height)
- : cam(cam), width(width), height(height) {}
+ : cam(std::move(cam)), width(width), height(height) {}
};
// void random_scene();
|
