summaryrefslogtreecommitdiff
path: root/matematik.h
diff options
context:
space:
mode:
Diffstat (limited to 'matematik.h')
-rw-r--r--matematik.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/matematik.h b/matematik.h
new file mode 100644
index 0000000..e042d2f
--- /dev/null
+++ b/matematik.h
@@ -0,0 +1,11 @@
+#ifndef MATEMATIK_H
+#define MATEMATIK_H
+
+#include <raylib.h>
+#include <math.h>
+
+float distance(Vector2 a, Vector2 b);
+Vector2 normalize_vector(Vector2 vec);
+Vector2 vector_diff(Vector2 a, Vector2 b);
+
+#endif