summaryrefslogtreecommitdiff
path: root/Runtime/Math/PodMathTypes.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Math/PodMathTypes.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Math/PodMathTypes.h')
-rw-r--r--Runtime/Math/PodMathTypes.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/Runtime/Math/PodMathTypes.h b/Runtime/Math/PodMathTypes.h
new file mode 100644
index 0000000..6ac55a5
--- /dev/null
+++ b/Runtime/Math/PodMathTypes.h
@@ -0,0 +1,24 @@
+#ifndef POD_MATH_TYPES_H_
+#define POD_MATH_TYPES_H_
+
+namespace pod
+{
+
+struct v2f
+{
+ float x, y;
+};
+
+struct v3f
+{
+ float x, y, z;
+};
+
+struct m44f
+{
+ float m[16];
+};
+
+}
+
+#endif