FreeLook: update camera and manager to use a delta time for movement (in case we decide to move this somewhere else in the future)

This commit is contained in:
iwubcode
2021-03-17 20:51:35 -05:00
parent f1ce921844
commit 425ee13d35
3 changed files with 21 additions and 20 deletions

View File

@ -78,8 +78,8 @@ private:
std::optional<FreeLook::ControlType> m_current_type;
std::unique_ptr<CameraController> m_camera_controller;
float m_fov_step_size = 0.025f;
float m_speed = 1.0f;
float m_min_fov_multiplier = 0.025f;
float m_speed = 60.0f;
};
extern FreeLookCamera g_freelook_camera;