gameui

view src/vec.h @ 4:e0916bb20b7f

changed the name to goatkit
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 21 Mar 2014 21:45:37 +0200
parents f1014234dece
children
line source
1 #ifndef VEC_H_
2 #define VEC_H_
4 namespace goatkit {
6 class Vec2 {
7 public:
8 float x, y;
10 Vec2() : x(0), y(0) {}
11 Vec2(float xx, float yy) : x(xx), y(yy) {}
12 };
14 } // namespace goatkit
16 #endif // VEC_H_