Add 2d physics hooks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user