prosperon/source/engine/2dphysics.h

16 lines
283 B
C
Raw Permalink Normal View History

2021-11-30 21:29:18 -06:00
#ifndef TWODPHYSICS_H
#define TWODPHYSICS_H
2023-05-12 13:22:05 -05:00
#include <chipmunk/chipmunk.h>
2023-12-11 08:36:45 -06:00
#include "gameobject.h"
#include "script.h"
2021-11-30 21:29:18 -06:00
extern cpSpace *space;
void phys2d_init();
void phys2d_update(float deltaT);
2023-12-11 08:36:45 -06:00
void phys2d_setup_handlers(gameobject *go);
JSValue arb2js(cpArbiter *arb);
2021-11-30 21:29:18 -06:00
#endif