mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
VideoCommon: change freelook camera fov step size and expose it
This commit is contained in:
parent
dc4b938526
commit
8ccb684711
2 changed files with 10 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue