Fix typo in render_gl.c

vertial -> vertical
This commit is contained in:
Ikko Eltociear Ashimine 2023-08-14 00:41:16 +09:00 committed by GitHub
parent c0019b1bca
commit 828a59685d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -518,7 +518,7 @@ static mat4_t render_setup_2d_projection_mat(vec2i_t size) {
static mat4_t render_setup_3d_projection_mat(vec2i_t size) {
// wipeout has a horizontal fov of 90deg, but we want the fov to be fixed
// for the vertical axis, so that widescreen displays just have a wider
// view. For the original 4/3 aspect ratio this equates to a vertial fov
// view. For the original 4/3 aspect ratio this equates to a vertical fov
// of 73.75deg.
float aspect = (float)size.x / (float)size.y;
float fov = (73.75 / 180.0) * 3.14159265358;