mirror of
https://github.com/vale981/Hyprland
synced 2025-03-11 05:06:39 -04:00
17 lines
396 B
C++
17 lines
396 B
C++
![]() |
#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;
|