summaryrefslogtreecommitdiff
path: root/AnimationRender/F_Interpolate.h
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-03-28 22:36:57 +0200
committerSyndamia <kamen@syndamia.com>2026-03-28 22:36:57 +0200
commit40f33359c7b47d99c3386948bbeead8409a1a902 (patch)
tree6847f11c13b3eb87d0dadfab4fce68a2062fd09a /AnimationRender/F_Interpolate.h
parentaf9f6ae727a15b965789717047a52e6857a3bd8d (diff)
downloadppm_graphics-40f33359c7b47d99c3386948bbeead8409a1a902.tar
ppm_graphics-40f33359c7b47d99c3386948bbeead8409a1a902.tar.gz
ppm_graphics-40f33359c7b47d99c3386948bbeead8409a1a902.zip
feat: Add rotation interpolation and add frame context reset on new frame
Diffstat (limited to 'AnimationRender/F_Interpolate.h')
-rw-r--r--AnimationRender/F_Interpolate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AnimationRender/F_Interpolate.h b/AnimationRender/F_Interpolate.h
index 502fbb4..e2ee4c5 100644
--- a/AnimationRender/F_Interpolate.h
+++ b/AnimationRender/F_Interpolate.h
@@ -3,6 +3,7 @@
#include "FrameCallback.h"
#include "../FrameRender/P_TransformCenter.h"
+#include "../FrameRender/P_TransformRotate.h"
typedef void (*f_interpolate)(void* value, const void* start, const void* end, double progress);
@@ -16,5 +17,6 @@ typedef struct Interpolate {
FrameCallback* Interpolate_setup(Interpolate obj);
void Interpolate_TransformCenter(TransformCenter* value, const TransformCenter* start, const TransformCenter* end, double progress);
+void Interpolate_TransformRotate(TransformRotate* value, const TransformRotate* start, const TransformRotate* end, double progress);
#endif /* F_INTERPOLATE */