summaryrefslogtreecommitdiff
path: root/Runtime/Math
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Math')
-rw-r--r--Runtime/Math/AABB.h0
-rw-r--r--Runtime/Math/Vector2.cpp0
-rw-r--r--Runtime/Math/Vector2.h17
-rw-r--r--Runtime/Math/Vector3.cpp1
-rw-r--r--Runtime/Math/Vector3.h18
5 files changed, 36 insertions, 0 deletions
diff --git a/Runtime/Math/AABB.h b/Runtime/Math/AABB.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Runtime/Math/AABB.h
diff --git a/Runtime/Math/Vector2.cpp b/Runtime/Math/Vector2.cpp
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Runtime/Math/Vector2.cpp
diff --git a/Runtime/Math/Vector2.h b/Runtime/Math/Vector2.h
new file mode 100644
index 0000000..7bf3987
--- /dev/null
+++ b/Runtime/Math/Vector2.h
@@ -0,0 +1,17 @@
+#ifndef VECTOR2_H
+#define VECTOR2_H
+
+class Vector2
+{
+public:
+ float x, y;
+
+ inline void Set(float x, float y)
+ {
+ this->x = x;
+ this->y = y;
+ }
+
+};
+
+#endif \ No newline at end of file
diff --git a/Runtime/Math/Vector3.cpp b/Runtime/Math/Vector3.cpp
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/Runtime/Math/Vector3.cpp
@@ -0,0 +1 @@
+
diff --git a/Runtime/Math/Vector3.h b/Runtime/Math/Vector3.h
new file mode 100644
index 0000000..041ffef
--- /dev/null
+++ b/Runtime/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