Hyprland/src/managers/AnimationManager.hpp

17 lines
396 B
C++
Raw Normal View History

2022-03-23 22:01:59 +01:00
#pragma once
#include "../defines.hpp"
#include <list>
class CAnimationManager {
public:
void tick();
private:
bool deltaSmallToFlip(const Vector2D& a, const Vector2D& b);
bool deltazero(const Vector2D& a, const Vector2D& b);
double parabolic(double, double, double);
};
inline std::unique_ptr<CAnimationManager> g_pAnimationManager;