This commit is contained in:
2023-05-12 18:22:05 +00:00
parent eb3e576521
commit e0f3985b00
84 changed files with 49281 additions and 19388 deletions

View File

@@ -2,19 +2,18 @@
#define ANIM_H
struct keyframe {
double time;
double val;
double time;
double val;
};
struct anim {
struct keyframe *frames;
int loop;
int interp;
struct keyframe *frames;
int loop;
int interp;
};
struct anim make_anim();
struct anim anim_add_keyframe(struct anim a, struct keyframe f);
double anim_val(struct anim anim, double t);
#endif