gameui

view src/vec.h @ 3:f1014234dece

transitions in gui elements are awesome :)
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 21 Mar 2014 03:37:16 +0200
parents
children e0916bb20b7f
line source
1 #ifndef VEC_H_
2 #define VEC_H_
4 namespace gameui {
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 gameui
16 #endif // VEC_H_