summaryrefslogtreecommitdiff
path: root/include/vec2.h
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:16:59 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:16:59 -0700
commita091c00c00c1d5ae5e3da7ef31b98293c76d479f (patch)
tree62c4b3bc114faac9922873ae48672c46cc2cf7d4 /include/vec2.h
Diffstat (limited to 'include/vec2.h')
-rw-r--r--include/vec2.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/vec2.h b/include/vec2.h
new file mode 100644
index 0000000..8fd3858
--- /dev/null
+++ b/include/vec2.h
@@ -0,0 +1,16 @@
+#ifndef VEC2_H
+#define VEC2_H
+
+typedef struct {
+ int x, y;
+} vec2i;
+
+typedef struct {
+ float x, y;
+} vec2f;
+
+typedef struct {
+ double x, y;
+} vec2d;
+
+#endif /* VEC2_H */