Add 2d physics hooks

This commit is contained in:
2022-12-20 14:16:26 +00:00
parent 5ae72062a2
commit df907aec2b
9 changed files with 126 additions and 68 deletions

View File

@@ -2,7 +2,7 @@
#define TWODPHYSICS_H
#include <chipmunk/chipmunk.h>
#include "s7.h"
struct gameobject;
@@ -95,6 +95,8 @@ void phys2d_init();
void phys2d_update(float deltaT);
void phys2d_apply();
void phys2d_add_begin_handler(s7_pointer cb);
void shape_gui(struct phys2d_shape *shape);
#endif