aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Math/Vector.cpp
blob: 3e44d704e2e6ab7d1e815840a2726ec7a0f414f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
    {
    }

}
}