From 2c07c0b7df2b13cd5deea8233e1c4eb61a85a766 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Sun, 23 May 2021 13:32:02 +0200 Subject: Naive BVH working + camera simple camera rotation --- include/camera.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/camera.hpp') diff --git a/include/camera.hpp b/include/camera.hpp index 6adac87..60ca5b5 100644 --- a/include/camera.hpp +++ b/include/camera.hpp @@ -18,6 +18,8 @@ class camera { void move(vec3 v); + void rotate_y(float theta); + point3 position; @@ -33,7 +35,7 @@ class camera { float lens_radius; float fov; float focus_distance; - float padding; + float aspect_ratio; }; #endif // !__CAMERA_HPP_ -- cgit v1.3