circle and sprites work with saves

This commit is contained in:
2023-09-26 22:07:51 +00:00
parent fe21b84785
commit 1143b9b3dc
9 changed files with 103 additions and 129 deletions

View File

@@ -21,13 +21,13 @@ extern struct rgba kinematic_color;
extern struct rgba static_color;
extern struct rgba sleep_color;
struct phys2d_shape {
cpShape *shape;
int go;
void *data;
void (*debugdraw)(void *data);
float (*moi)(void *data, float mass);
void (*apply)(void *data);
};
/* Circles are the fastest collier type */