fix player camera zoom with fov-effects disabled

This commit is contained in:
MihailRis
2025-07-14 23:23:19 +03:00
parent 49727ec026
commit 014ffab183
2 changed files with 16 additions and 12 deletions
+5 -2
View File
@@ -32,10 +32,13 @@ class CameraControl {
/// @return camera offset
glm::vec3 updateCameraShaking(const Hitbox& hitbox, float delta);
/// @brief Update field-of-view effects
/// @brief Update field-of-view
/// @param input player inputs
/// @param delta delta time
void updateFovEffects(const Hitbox& hitbox, PlayerInput input, float delta);
/// @param effects movement-related effects
void updateFov(
const Hitbox& hitbox, PlayerInput input, float delta, bool effects
);
/// @brief Switch active player camera
void switchCamera();