summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo/math/vec3_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rodeo/math/vec3_t.h')
-rw-r--r--include/rodeo/math/vec3_t.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/rodeo/math/vec3_t.h b/include/rodeo/math/vec3_t.h
new file mode 100644
index 0000000..a3b3a36
--- /dev/null
+++ b/include/rodeo/math/vec3_t.h
@@ -0,0 +1,18 @@
+#pragma once
+
+typedef
+struct
+{
+ float x;
+ float y;
+ float z;
+}
+rodeo_math_vec3_val_t;
+
+typedef
+union
+{
+ rodeo_math_vec3_val_t val;
+ float raw[3];
+}
+rodeo_math_vec3_t;