diff options
Diffstat (limited to 'src/libjin/Math/Vector.cpp')
-rw-r--r-- | src/libjin/Math/Vector.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/libjin/Math/Vector.cpp b/src/libjin/Math/Vector.cpp index f26d0c4..3e44d70 100644 --- a/src/libjin/Math/Vector.cpp +++ b/src/libjin/Math/Vector.cpp @@ -1,2 +1,24 @@ #include "vector.h" +namespace jin +{ +namespace math +{ + + Vector2::Vector2() + :x(0), y(0) + { + } + + Vector2::Vector2(float _x, float _y) + : x(_x), y(_y) + { + }; + + Vector2::Vector2(const Vector2& v) + : x(v.x), y(v.y) + { + } + +} +}
\ No newline at end of file |