Mirai's Miscellaneous Misadventures

M21 / include / mimimi / animations.h

1// copyright 2022 zamfofex
2// license: AGPLv3 or later
3
4#ifndef MIMIMI_ANIMATIONS_H
5#define MIMIMI_ANIMATIONS_H
6
7struct mimimi_image;
8struct mimimi_pose;
9struct mimimi_model;
10
11struct mimimi_movement
12{
13	int pose_count;
14	struct mimimi_pose *poses;
15};
16
17struct mimimi_animation
18{
19	int image_count;
20	struct mimimi_image *images;
21};
22
23void mimimi_movement(struct mimimi_animation *animation, struct mimimi_model *model, struct mimimi_movement *movement);
24
25#endif