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);
|
||||
|
||||
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))
|
||||
g_freelook_camera.IncreaseFovX(-0.1f);
|
||||
g_freelook_camera.IncreaseFovX(-1.0f * g_freelook_camera.GetFovStepSize());
|
||||
|
||||
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))
|
||||
g_freelook_camera.IncreaseFovY(-0.1f);
|
||||
g_freelook_camera.IncreaseFovY(-1.0f * g_freelook_camera.GetFovStepSize());
|
||||
|
||||
if (IsHotkey(HK_FREELOOK_RESET, true))
|
||||
g_freelook_camera.Reset();
|
||||
|
|
Loading…
Reference in New Issue