summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-02-13 09:41:19 -0800
committer3gg <3gg@shellblade.net>2026-02-13 09:41:19 -0800
commitabacb43bd5914ec3b98ee48b46216c5329203693 (patch)
tree9587de8239067754718335de72e69e41b6b3fadf /src
parent4b70b9bce466bc68ea083ae468106b44c8a93fae (diff)
Use more appropriate fovy
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6b40c84..260d215 100644
--- a/src/main.c
+++ b/src/main.c
@@ -27,7 +27,8 @@ static constexpr int WindowWidth = 640;
27static constexpr int WindowHeight = 480; 27static constexpr int WindowHeight = 480;
28static constexpr sgVec2i WindowDims = (sgVec2i){.x = WindowWidth, .y = WindowHeight}; 28static constexpr sgVec2i WindowDims = (sgVec2i){.x = WindowWidth, .y = WindowHeight};
29 29
30static constexpr R Fovy = (R)(90 * TO_RAD); 30// 90 fovx at 4:3 -> 73.73 fovy.
31static constexpr R Fovy = (R)(73.73 * TO_RAD);
31static constexpr R Near = 0.01f; 32static constexpr R Near = 0.01f;
32static constexpr R Far = 100.0f; 33static constexpr R Far = 100.0f;
33 34