gameui
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/include/vec.h Sat Mar 22 01:50:01 2014 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +#ifndef VEC_H_ 1.5 +#define VEC_H_ 1.6 + 1.7 +namespace goatkit { 1.8 + 1.9 +class Vec2 { 1.10 +public: 1.11 + float x, y; 1.12 + 1.13 + Vec2() : x(0), y(0) {} 1.14 + Vec2(float xx, float yy) : x(xx), y(yy) {} 1.15 +}; 1.16 + 1.17 +} // namespace goatkit 1.18 + 1.19 +#endif // VEC_H_