mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
DolphinQt: change freelook fov by the step size
This commit is contained in:
parent
8ccb684711
commit
69bd6bbdef
@ -564,16 +564,16 @@ void HotkeyScheduler::Run()
|
|||||||
g_freelook_camera.Zoom(-fl_speed);
|
g_freelook_camera.Zoom(-fl_speed);
|
||||||
|
|
||||||
if (IsHotkey(HK_FREELOOK_INCREASE_FOV_X, true))
|
if (IsHotkey(HK_FREELOOK_INCREASE_FOV_X, true))
|
||||||
g_freelook_camera.IncreaseFovX(0.1f);
|
g_freelook_camera.IncreaseFovX(g_freelook_camera.GetFovStepSize());
|
||||||
|
|
||||||
if (IsHotkey(HK_FREELOOK_DECREASE_FOV_X, true))
|
if (IsHotkey(HK_FREELOOK_DECREASE_FOV_X, true))
|
||||||
g_freelook_camera.IncreaseFovX(-0.1f);
|
g_freelook_camera.IncreaseFovX(-1.0f * g_freelook_camera.GetFovStepSize());
|
||||||
|
|
||||||
if (IsHotkey(HK_FREELOOK_INCREASE_FOV_Y, true))
|
if (IsHotkey(HK_FREELOOK_INCREASE_FOV_Y, true))
|
||||||
g_freelook_camera.IncreaseFovY(0.1f);
|
g_freelook_camera.IncreaseFovY(g_freelook_camera.GetFovStepSize());
|
||||||
|
|
||||||
if (IsHotkey(HK_FREELOOK_DECREASE_FOV_Y, true))
|
if (IsHotkey(HK_FREELOOK_DECREASE_FOV_Y, true))
|
||||||
g_freelook_camera.IncreaseFovY(-0.1f);
|
g_freelook_camera.IncreaseFovY(-1.0f * g_freelook_camera.GetFovStepSize());
|
||||||
|
|
||||||
if (IsHotkey(HK_FREELOOK_RESET, true))
|
if (IsHotkey(HK_FREELOOK_RESET, true))
|
||||||
g_freelook_camera.Reset();
|
g_freelook_camera.Reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user