summaryrefslogtreecommitdiff
path: root/Runner/Math/Vector2.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runner/Math/Vector2.h')
-rw-r--r--Runner/Math/Vector2.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Runner/Math/Vector2.h b/Runner/Math/Vector2.h
new file mode 100644
index 0000000..7bf3987
--- /dev/null
+++ b/Runner/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