From 0d0ce0a318c6c26128f24574cbc63005dcd4a757 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Wed, 6 Jan 2021 00:34:02 +0100 Subject: Customisalbe camera with focus plan --- include/camera.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/camera.hpp') diff --git a/include/camera.hpp b/include/camera.hpp index f1b199a..858833b 100644 --- a/include/camera.hpp +++ b/include/camera.hpp @@ -17,7 +17,7 @@ class camera { ray get_ray(double u, double v) const; point3 position; - double lens_radius; + float lens_radius; float viewport_width; float viewport_height; -- cgit v1.3