diff options
Diffstat (limited to 'AnimationInterpolate.h')
| -rw-r--r-- | AnimationInterpolate.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/AnimationInterpolate.h b/AnimationInterpolate.h index 18ae841..eaa0b3c 100644 --- a/AnimationInterpolate.h +++ b/AnimationInterpolate.h @@ -4,19 +4,18 @@ #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); + void (*interpolate)(void* value, const void* finalState, double percentage); + + double prevPercentage; }; ARGB A_Interpolate(const Animation* anim, PixelRendererParams params); -void AO_LineInterpolate(void* valueLine, const void* initialLine, const void* finalLine, double percentage); +void AO_LineInterpolate(void* valueLine, 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); +void AM_LinearInterpolate(void* valueLinear, const void* finalLinear, double percentage); +void AM_SpinInterpolate(void* valueSpin, const void* finalSpin, double percentage); #endif /* _ANIMATION_INTERPOLATE */ |
