From a9d9936cb7ad7cca8992f43e2bc2876519df1e61 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Sun, 5 Jan 2025 23:37:08 +0300 Subject: [PATCH] /apps/demos/scenery: reduce fov --- apps/demos/scenery/scenes/ingame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/demos/scenery/scenes/ingame.c b/apps/demos/scenery/scenes/ingame.c index 25af050..308f439 100644 --- a/apps/demos/scenery/scenes/ingame.c +++ b/apps/demos/scenery/scenes/ingame.c @@ -24,7 +24,7 @@ static void process_fly_mode(State *state) { SceneIngame *scn = (SceneIngame *)state->scene; DrawCameraFromPrincipalAxesResult dir_and_up = - draw_camera_from_principal_axes(scn->pos, (float)M_PI_2, scn->roll, scn->pitch, scn->yaw); + draw_camera_from_principal_axes(scn->pos, (float)M_PI_2 * 0.8f, scn->roll, scn->pitch, scn->yaw); const Vec3 right = m_vec_norm(m_vec_cross(dir_and_up.direction, dir_and_up.up)); const float speed = 0.04f; /* TODO: put this in a better place */ @@ -52,7 +52,7 @@ static void process_ground_mode(State *state) { SceneIngame *scn = (SceneIngame *)state->scene; DrawCameraFromPrincipalAxesResult dir_and_up = - draw_camera_from_principal_axes(scn->pos, (float)M_PI_2, scn->roll, scn->pitch, scn->yaw); + draw_camera_from_principal_axes(scn->pos, (float)M_PI_2 * 0.8f, scn->roll, scn->pitch, scn->yaw); const Vec3 right = m_vec_norm(m_vec_cross(dir_and_up.direction, dir_and_up.up)); const float speed = 0.18f; /* TODO: put this in a better place */