diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-31 17:50:00 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-31 17:50:00 +0200 |
| commit | 586e2a98ed9c48e2c22844782b6c7cf4fc1206e6 (patch) | |
| tree | d4214a0917eaf04bdf1d6ede2f61fa0131e56c99 /src/managers/AnimationManager.hpp | |
| parent | 993e60142477c1766f93fc2b2b8c064cf8370c57 (diff) | |
Added animated borders
Diffstat (limited to 'src/managers/AnimationManager.hpp')
| -rw-r--r-- | src/managers/AnimationManager.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/managers/AnimationManager.hpp b/src/managers/AnimationManager.hpp index 38e433c6..450bbe2c 100644 --- a/src/managers/AnimationManager.hpp +++ b/src/managers/AnimationManager.hpp @@ -10,8 +10,11 @@ public: 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); - double parabolic(double, double, double); + 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;
\ No newline at end of file |
