Hyprland/src/managers/AnimationManager.hpp
2022-03-31 17:50:00 +02:00

20 lines
No EOL
626 B
C++

#pragma once
#include "../defines.hpp"
#include <list>
class CAnimationManager {
public:
void tick();
private:
bool deltaSmallToFlip(const Vector2D& a, const Vector2D& b);
bool deltaSmallToFlip(const CColor& a, const CColor& b);
bool deltazero(const Vector2D& a, const Vector2D& b);
bool deltazero(const CColor& a, const CColor& b);
double parabolic(const double, const double, const double);
CColor parabolic(const double, const CColor&, const CColor&);
};
inline std::unique_ptr<CAnimationManager> g_pAnimationManager;