diff options
| author | Syndamia <kamen@syndamia.com> | 2026-03-28 20:33:03 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2026-03-28 20:33:03 +0200 |
| commit | d31239eeeac4ea595b1d1e7063ab5d762809fb02 (patch) | |
| tree | aa0d5f426a2dc439ad863b9e3ec017c5776f528e /AnimationInterpolate.h | |
| parent | 56099072165578b505a6c81e187cf392b9bd5a2e (diff) | |
| download | ppm_graphics-d31239eeeac4ea595b1d1e7063ab5d762809fb02.tar ppm_graphics-d31239eeeac4ea595b1d1e7063ab5d762809fb02.tar.gz ppm_graphics-d31239eeeac4ea595b1d1e7063ab5d762809fb02.zip | |
feat!: Complete rewrite
This new scheme will be much simpler
Diffstat (limited to 'AnimationInterpolate.h')
| -rw-r--r-- | AnimationInterpolate.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/AnimationInterpolate.h b/AnimationInterpolate.h deleted file mode 100644 index 18ae841..0000000 --- a/AnimationInterpolate.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef _ANIMATION_INTERPOLATE -#define _ANIMATION_INTERPOLATE - -#include "Animation.h" - -struct A_Interpolate { - void* initialValueTemp; - size_t initialValueTempSize; - - void* value; - void* goalValue; - void (*interpolate)(void* value, const void* initialState, const void* finalState, double percentage); -}; - -ARGB A_Interpolate(const Animation* anim, PixelRendererParams params); - -void AO_LineInterpolate(void* valueLine, const void* initialLine, const void* finalLine, double percentage); - -void AM_LinearInterpolate(void* valueLinear, const void* initialLinear, const void* finalLinear, double percentage); -void AM_SpinInterpolate(void* valueSpin, const void* initialSpin, const void* finalSpin, double percentage); - -#endif /* _ANIMATION_INTERPOLATE */ |
