Added basic animations for windows
This commit is contained in:
parent
1923b0d170
commit
bcf7ee6dc2
10 changed files with 116 additions and 16 deletions
17
src/managers/AnimationManager.hpp
Normal file
17
src/managers/AnimationManager.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue