summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo/math/vec2_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rodeo/math/vec2_t.h')
-rw-r--r--include/rodeo/math/vec2_t.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/rodeo/math/vec2_t.h b/include/rodeo/math/vec2_t.h
new file mode 100644
index 0000000..22717c6
--- /dev/null
+++ b/include/rodeo/math/vec2_t.h
@@ -0,0 +1,17 @@
+#pragma once
+
+typedef
+struct
+{
+ float x;
+ float y;
+}
+rodeo_math_vec2_val_t;
+
+typedef
+union
+{
+ rodeo_math_vec2_val_t val;
+ float raw[2];
+}
+rodeo_math_vec2_t;