aboutsummaryrefslogtreecommitdiffstats
path: root/include/camera.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/camera.hpp')
-rw-r--r--include/camera.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/camera.hpp b/include/camera.hpp
index 88ece6f..f1b199a 100644
--- a/include/camera.hpp
+++ b/include/camera.hpp
@@ -19,6 +19,9 @@ class camera {
point3 position;
double lens_radius;
+ float viewport_width;
+ float viewport_height;
+
vec3 horizontal;
vec3 vertical;