mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoCommon: change freelook camera fov step size and expose it
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user