From 66b8629964e6a5db214f582047e88ec70cf080a8 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 3 Mar 2023 12:15:59 +0000 Subject: Update the debug overlay --- src/managers/AnimationManager.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/managers/AnimationManager.hpp') diff --git a/src/managers/AnimationManager.hpp b/src/managers/AnimationManager.hpp index 635d51eb..db7055c8 100644 --- a/src/managers/AnimationManager.hpp +++ b/src/managers/AnimationManager.hpp @@ -6,6 +6,7 @@ #include "../helpers/AnimatedVariable.hpp" #include "../helpers/BezierCurve.hpp" #include "../Window.hpp" +#include "../helpers/Timer.hpp" class CAnimationManager { public: @@ -28,6 +29,8 @@ class CAnimationManager { wl_event_source* m_pAnimationTick; + float m_fLastTickTime; // in ms + private: bool deltaSmallToFlip(const Vector2D& a, const Vector2D& b); bool deltaSmallToFlip(const CColor& a, const CColor& b); -- cgit v1.2.3