| 33 | } |
| 34 | |
| 35 | void MovementController::UpdateParams() |
| 36 | { |
| 37 | fov_= settings_.GetOrSetFloat( SettingsKeys::fov, 90.0f ); |
| 38 | fov_= std::max( 10.0f, std::min( fov_, 150.0f ) ); |
| 39 | settings_.SetSetting( SettingsKeys::fov, fov_ ); |
| 40 | |
| 41 | is_old_style_perspective_= settings_.GetOrSetBool( SettingsKeys::old_style_perspective, false ); |
| 42 | |
| 43 | ClipCameraAngles(); |
| 44 | } |
| 45 | |
| 46 | void MovementController::Tick( const KeyboardState& keyboard_state ) |
| 47 | { |
no test coverage detected