aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Math/Vector.cpp
blob: b4e347a09d5d4fbcfcd9d1158a6c169843254b69 (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)
    {
    }

} // math
} // jin