aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Math/Vector2.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Math/Vector2.hpp')
-rw-r--r--src/libjin/Math/Vector2.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libjin/Math/Vector2.hpp b/src/libjin/Math/Vector2.hpp
index bee22f3..ddb8221 100644
--- a/src/libjin/Math/Vector2.hpp
+++ b/src/libjin/Math/Vector2.hpp
@@ -26,8 +26,9 @@ namespace math
}
T &x = data[0], &y = data[1]; // xy
- T &w = data[0], &h = data[1]; // wh
-
+ T &w = data[0], &h = data[1]; // wh
+ T &colum = data[0], &row = data[1]; // colum row
+
private:
T data[2];