aboutsummaryrefslogtreecommitdiffstats
path: root/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'view.h')
-rw-r--r--view.h4
1 files changed, 2 insertions, 2 deletions
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;