summaryrefslogtreecommitdiff
path: root/Runner/Math/Vector3.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-09-10 20:30:31 +0800
committerchai <chaifix@163.com>2020-09-10 20:30:31 +0800
commit639b34294ffc20721c66db46e59e07d9100ac4b8 (patch)
tree7e1d45b536fa35e9f1559e468ea66fca99524573 /Runner/Math/Vector3.h
*init
Diffstat (limited to 'Runner/Math/Vector3.h')
-rw-r--r--Runner/Math/Vector3.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Runner/Math/Vector3.h b/Runner/Math/Vector3.h
new file mode 100644
index 0000000..041ffef
--- /dev/null
+++ b/Runner/Math/Vector3.h
@@ -0,0 +1,18 @@
+#ifndef VECTOR3_H
+#define VECTOR3_H
+
+class Vector3
+{
+public:
+ float x, y, z;
+
+ inline void Set(float x, float y, float z)
+ {
+ this->x = x;
+ this->y = y;
+ this->z = z;
+ }
+
+};
+
+#endif \ No newline at end of file