diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2020-12-21 23:13:25 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2020-12-21 23:13:25 +0100 |
| commit | 8da53c5f262b09756e1a93257cdcd5be25807839 (patch) | |
| tree | c34344074ca8766dafcbf27958f571bf14c35315 /include/camera.hpp | |
| parent | 56bed8e38f5b6d9effd77371ad781ae71601205b (diff) | |
Movable and rotatable camera + dielectric materials
Diffstat (limited to 'include/camera.hpp')
| -rw-r--r-- | include/camera.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/camera.hpp b/include/camera.hpp index 82f7155..0b3d20e 100644 --- a/include/camera.hpp +++ b/include/camera.hpp @@ -1,16 +1,15 @@ #ifndef __CAMERA_HPP_ #define __CAMERA_HPP_ -#include "rt.hpp" +#include "ray.hpp" class camera { public: - camera(point3 position, double aspect_ratio, double focal_length); + camera(point3 position, point3 target, double v_fov, double aspect_ratio); ray get_ray(double u, double v) const; point3 position; - double focal_length; vec3 horizontal; vec3 vertical; |
