Update camera scaling based on anchor pos even if path is playing

Previously this was only done hwen the Orbitalnavigator controlled the camera
This commit is contained in:
Emma Broman
2021-07-14 10:54:30 +02:00
parent be9df994c8
commit 2905fef7d9
3 changed files with 13 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ public:
void updateStatesFromInput(const InputState& inputState, double deltaTime);
void updateCameraStateFromStates(double deltaTime);
void updateCameraScalingFromAnchor(double deltaTime);
void resetVelocities();
Camera* camera() const;