diff options
author | chai <chaifix@163.com> | 2018-09-02 10:08:58 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-02 10:08:58 +0800 |
commit | 3bb587f0d7c471a70683fa7d26939d21968dea98 (patch) | |
tree | 6ef9e75b5159dda0a8d1dc4ef8640be4eacc6343 /src/libjin/math/vector.h | |
parent | 862763a88f6b4a6cb6c034287c509a91776adf8b (diff) |
*update
Diffstat (limited to 'src/libjin/math/vector.h')
-rw-r--r-- | src/libjin/math/vector.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/libjin/math/vector.h b/src/libjin/math/vector.h index 43e249e..0fbdc87 100644 --- a/src/libjin/math/vector.h +++ b/src/libjin/math/vector.h @@ -5,10 +5,20 @@ namespace jin { namespace math { - - -} -} + class Vector2 + { + public: + Vector2(); + Vector2(float _x, float _y); + Vector2(const Vector2& v); + + float x; + float y; + + }; + +} // math +} // jin #endif
\ No newline at end of file |