summaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
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);