diff options
Diffstat (limited to 'Runtime/Math')
-rw-r--r-- | Runtime/Math/AABB.h | 0 | ||||
-rw-r--r-- | Runtime/Math/Vector2.cpp | 0 | ||||
-rw-r--r-- | Runtime/Math/Vector2.h | 17 | ||||
-rw-r--r-- | Runtime/Math/Vector3.cpp | 1 | ||||
-rw-r--r-- | Runtime/Math/Vector3.h | 18 |
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 |