From abacb43bd5914ec3b98ee48b46216c5329203693 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 13 Feb 2026 09:41:19 -0800 Subject: Use more appropriate fovy --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.c') 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; static constexpr int WindowHeight = 480; static constexpr sgVec2i WindowDims = (sgVec2i){.x = WindowWidth, .y = WindowHeight}; -static constexpr R Fovy = (R)(90 * TO_RAD); +// 90 fovx at 4:3 -> 73.73 fovy. +static constexpr R Fovy = (R)(73.73 * TO_RAD); static constexpr R Near = 0.01f; static constexpr R Far = 100.0f; -- cgit v1.2.3