diff options
| author | esquizo <esquizo+noreply@esquizo.net> | 2026-06-03 16:10:57 -0300 |
|---|---|---|
| committer | esquizo <esquizo+noreply@esquizo.net> | 2026-06-03 16:10:57 -0300 |
| commit | 83b1c06b186614d1bf2171feb46754bd8a8e6dfa (patch) | |
| tree | b8da3f436cba5736d481690935135fe5c6b3badc /include | |
| parent | 005f0a3185eb8085f6e0de11e3cfd0a3d9167719 (diff) | |
libphysics removido (ideia jogada fora)
Diffstat (limited to 'include')
| -rw-r--r-- | include/physics.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/physics.h b/include/physics.h deleted file mode 100644 index 8ffa438..0000000 --- a/include/physics.h +++ /dev/null @@ -1,31 +0,0 @@ -#define PHX_TICK_TIME (1.0 / 480.0) - -typedef int BodyID; - -typedef enum { - BTYPE_AABB, - BTYPE_TILEMAP, -} BodyType; - -typedef struct Body Body; -typedef struct CollisionEvent { - BodyID body1; - BodyID body2; -} CollisionEvent; - -BodyID phxnew(BodyType type); -void phxdel(BodyID); - -void phxsetmap(int w, int h, int *tiles); - -void phxsetpos(BodyID, float x, float y); -void phxsetsize(BodyID, float w, float h); -void phxapplyaccel(BodyID, float f[2]); - -void phxgetpos(BodyID, float pos[2]); -void phxgetsize(BodyID, float size[2]); - -int phxnextcollevent(CollisionEvent *ev); -void phxtick(float delta); - -void phxfixtick(void); |
