aboutsummaryrefslogtreecommitdiff
path: root/include/vec2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vec2.h')
-rw-r--r--include/vec2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/vec2.h b/include/vec2.h
new file mode 100644
index 0000000..3e33cfb
--- /dev/null
+++ b/include/vec2.h
@@ -0,0 +1,12 @@
+#ifndef VEC2_H
+#define VEC2_H
+
+typedef struct {
+ int x, y;
+} vec2i;
+
+typedef struct {
+ float x, y;
+} vec2f;
+
+#endif /* VEC2_H */