add position calculations 2d

This commit is contained in:
2023-02-20 17:10:03 +00:00
parent c3b1988fb7
commit 49a17e0d59
3 changed files with 32 additions and 0 deletions

View File

@@ -131,5 +131,7 @@ struct color float2color(float *fcolor);
void shape_gui(struct phys2d_shape *shape);
void phys2d_reindex_body(cpBody *body);
cpVect world2go(struct gameobject *go, cpVect worldpos);
cpVect go2world(struct gameobject *go, cpVect gopos);
#endif