diff options
| author | chai <chaifix@163.com> | 2018-10-14 22:52:40 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2018-10-14 22:52:40 +0800 |
| commit | b1bbc998960fff2169dc5a992c47d08723472f9b (patch) | |
| tree | 220f3bd5de2266e248884e11161dd715d7632ef2 /src/libjin/Math/Vector2.hpp | |
| parent | fbf989f9950a38566e0fb0fc5b6a7aebc9f0fb45 (diff) | |
*直接渲染字符串
Diffstat (limited to 'src/libjin/Math/Vector2.hpp')
| -rw-r--r-- | src/libjin/Math/Vector2.hpp | 5 |
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]; |
