diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-05-23 13:32:02 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-05-23 13:32:02 +0200 |
| commit | 2c07c0b7df2b13cd5deea8233e1c4eb61a85a766 (patch) | |
| tree | 2133f08ab5ec84ee8013b43fd288120e1eaf85b7 /include/camera.hpp | |
| parent | b715df2c21dbb8656fc01d5a64605ac18cb5c6e4 (diff) | |
Naive BVH working + camera simple camera rotation
Diffstat (limited to 'include/camera.hpp')
| -rw-r--r-- | include/camera.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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_ |
