From 5692f616c6201b39184e4353b6a4cb850a84a450 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Wed, 15 Jun 2022 23:02:29 +0200 Subject: Fix formatting and linting --- include/scene.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/scene.hpp') 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(); -- cgit v1.3