From 7d174816febeed6977a7e90be5c80e9b99b11df9 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 14 May 2024 19:58:40 -0400 Subject: many changes, more controls --- view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view.h') diff --git a/view.h b/view.h index e27176e..0f97358 100644 --- a/view.h +++ b/view.h @@ -12,11 +12,11 @@ struct View static constexpr auto vup = vec3(0, 1, 0); // Camera-relative "up" direction float fieldOfView = 90.f; + point3 camera {0, 0.5, 0.5}; + float focalLength; float viewportHeight; float viewportWidth; - - point3 camera; vec3 viewportX; vec3 viewportY; vec3 pixelDX; -- cgit v1.2.3