gameui

view include/vec.h @ 5:5a84873185ff

rudimentary theme plugin system and other minor fixes
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 22 Mar 2014 01:50:01 +0200
parents src/vec.h@e0916bb20b7f
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_