Mirai's Miscellaneous Misadventures
M28 / include / mimimi / models.h
1
2
3
4#ifndef MIMIMI_MODELS_H
5#define MIMIMI_MODELS_H
6
7struct mimimi_row
8{
9 int width;
10 int height;
11 int count;
12 unsigned char colors[64];
13};
14
15struct mimimi_layer
16{
17 int x, y, z;
18 int width;
19 int count;
20 struct mimimi_row rows[64];
21};
22
23struct mimimi_model_layer
24{
25 int parent_index;
26 struct mimimi_layer *layer;
27};
28
29struct mimimi_model
30{
31 int count;
32 struct mimimi_model_layer layers[64];
33};
34
35#endif