gameui

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/vec.h	Fri Mar 21 03:37:16 2014 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +#ifndef VEC_H_
     1.5 +#define VEC_H_
     1.6 +
     1.7 +namespace gameui {
     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 gameui
    1.18 +
    1.19 +#endif	// VEC_H_