From 1cc8f72fb1c44e203a324e274038c2883c351fbb Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 Mar 2026 22:14:32 +0200 Subject: feat: Add animation capabilities with linear interpolation --- AnimationRender/F_Draw.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 AnimationRender/F_Draw.h (limited to 'AnimationRender/F_Draw.h') diff --git a/AnimationRender/F_Draw.h b/AnimationRender/F_Draw.h new file mode 100644 index 0000000..729cec9 --- /dev/null +++ b/AnimationRender/F_Draw.h @@ -0,0 +1,17 @@ +#ifndef F_DRAW +#define F_DRAW + +#include "../global.h" +#include "../FrameRender/PixelCallback.h" +#include "FrameCallback.h" + +typedef struct Draw { + u32 startFrame; + u32 endFrame; + const PixelCallback** callbacks; + usize sizeCallbacks; +} Draw; + +FrameCallback* Draw_setup(Draw obj); + +#endif /* F_DRAW */ -- cgit v1.2.3