VideoCommon: change freelook camera fov step size and expose it

This commit is contained in:
iwubcode
2020-06-22 22:09:32 -05:00
parent dc4b938526
commit 8ccb684711
2 changed files with 10 additions and 2 deletions

View File

@ -54,6 +54,7 @@ public:
void IncreaseFovX(float fov);
void IncreaseFovY(float fov);
float GetFovStepSize() const;
void Reset();
@ -68,6 +69,8 @@ private:
float m_fov_y = 1.0f;
std::optional<FreelookControlType> m_current_type;
std::unique_ptr<CameraController> m_camera_controller;
float m_fov_step_size = 0.025f;
};
extern FreeLookCamera g_freelook_camera;