aboutsummaryrefslogtreecommitdiff
path: root/Client/Source/Phy2D/Tests/test_math.cpp
blob: e7642c19de9eeaa422a03103c5036f5390f53890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "test.h"
#if TEST == TEST_MATH

#include <iostream>

#include "../Common/Math.h"

using namespace Phy2D;
using namespace std;

int main(int argc, char **argv) 
{
    Vec2 a = Vec2(1.f, 2.f);
    Vec2 b = a;

    cout << (a+b).ToString();

    getchar();

    return 0;
}

#endif