diff options
| author | esquizo <esquizo+noreply@esquizo.net> | 2026-05-31 14:48:08 -0300 |
|---|---|---|
| committer | esquizo <esquizo+noreply@esquizo.net> | 2026-05-31 14:48:08 -0300 |
| commit | 86e64f00ad1452c0a2e528d37d169b8eb125e299 (patch) | |
| tree | ca6f0c013fcc9a54c565b20af094423283f094cd /libphysics/dat.h | |
| parent | 64debcd9a5108d859c96bcf58a4c17f6de3efadc (diff) | |
libphysics: adicionado narrow.c
Diffstat (limited to 'libphysics/dat.h')
| -rw-r--r-- | libphysics/dat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libphysics/dat.h b/libphysics/dat.h index cabe7f5..da858c3 100644 --- a/libphysics/dat.h +++ b/libphysics/dat.h @@ -15,6 +15,11 @@ struct BlockmapNode { BlockmapNode *next; }; +typedef struct TestCollision TestCollision; +struct TestCollision { + BodyID a, b; +}; + void phxmapcollision(Body *); void phxbodycollision(Body *, Body *); @@ -28,6 +33,8 @@ int phxdeqevent(CollisionEvent *ev); void phxmakeblkmap(void); BlockmapNode *phxnodelist(float x, float y); +void __phxnarrowphase(int n, TestCollision coll[n]); + extern int phxmapwidth, phxmapheight; extern int *phxmapbuffer; |
