Update the debug overlay

This commit is contained in:
vaxerski
2023-03-03 12:15:59 +00:00
parent 9e028d56c0
commit 66b8629964
4 changed files with 65 additions and 6 deletions

View File

@@ -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);