diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2024-05-14 19:58:40 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2024-05-14 19:58:40 -0400 |
commit | 7d174816febeed6977a7e90be5c80e9b99b11df9 (patch) | |
tree | 12b41ae02f03bf5bcaef84690f0a8824d71c7183 /view.h | |
parent | af1740bde341ef7703696cb7fd26d66cd8a37462 (diff) |
many changes, more controls
Diffstat (limited to 'view.h')
-rw-r--r-- | view.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |