summaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-04-24 19:11:13 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-04-24 19:11:13 -0300
commit15a8758f6a99d18ab481e971c7cdfa0c10b71ff6 (patch)
treea43b043a4edfbce6f9e7fa3fe509766838e3b2af /dat.h
parentc027a6ebdb3e1cba203ea067720cca3a4c620974 (diff)
tamanho da body
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dat.h b/dat.h
new file mode 100644
index 0000000..e862217
--- /dev/null
+++ b/dat.h
@@ -0,0 +1,7 @@
+typedef struct {
+ float pos[2];
+ float size[2];
+ float vel[2];
+} Body;
+
+int checkcollision(Body *b1, Body *b2);