diff options
author | chai <chaifix@163.com> | 2018-09-07 13:30:44 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-07 13:30:44 +0800 |
commit | e72188433348c270a54879da9f086f1b527b580f (patch) | |
tree | b2cb92b37579c6f9cff77f52fc591426eb2d8286 /src/libjin/Math/Vector2.h | |
parent | 28ca1f570d417671904a25c2a9c589fdb1eb7a03 (diff) |
*update
Diffstat (limited to 'src/libjin/Math/Vector2.h')
-rw-r--r-- | src/libjin/Math/Vector2.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/libjin/Math/Vector2.h b/src/libjin/Math/Vector2.h deleted file mode 100644 index ce96ac8..0000000 --- a/src/libjin/Math/Vector2.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef __JIN_VECTOR_H -#define __JIN_VECTOR_H - -namespace jin -{ -namespace math -{ - - template<typename T> - class Vector2 - { - public: - Vector2() : x(0), y(0) {}; - Vector2(T _x, T _y) :x(_x), y(_y) {}; - Vector2(const Vector2<T>& v) - { - x = v.x; - y = v.y; - } - - T x; - T y; - - }; - -} // math -} // jin - -#endif
\ No newline at end of file |