diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -27,7 +27,8 @@ static constexpr int WindowWidth = 640; | |||
| 27 | static constexpr int WindowHeight = 480; | 27 | static constexpr int WindowHeight = 480; |
| 28 | static constexpr sgVec2i WindowDims = (sgVec2i){.x = WindowWidth, .y = WindowHeight}; | 28 | static constexpr sgVec2i WindowDims = (sgVec2i){.x = WindowWidth, .y = WindowHeight}; |
| 29 | 29 | ||
| 30 | static constexpr R Fovy = (R)(90 * TO_RAD); | 30 | // 90 fovx at 4:3 -> 73.73 fovy. |
| 31 | static constexpr R Fovy = (R)(73.73 * TO_RAD); | ||
| 31 | static constexpr R Near = 0.01f; | 32 | static constexpr R Near = 0.01f; |
| 32 | static constexpr R Far = 100.0f; | 33 | static constexpr R Far = 100.0f; |
| 33 | 34 | ||
