nuclear@6: /* nuclear@6: GoatKit - a themable/animated widget toolkit for games nuclear@6: Copyright (C) 2014 John Tsiombikas nuclear@6: nuclear@6: This program is free software: you can redistribute it and/or modify nuclear@6: it under the terms of the GNU Lesser General Public License as published by nuclear@6: the Free Software Foundation, either version 3 of the License, or nuclear@6: (at your option) any later version. nuclear@6: nuclear@6: This program is distributed in the hope that it will be useful, nuclear@6: but WITHOUT ANY WARRANTY; without even the implied warranty of nuclear@6: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nuclear@6: GNU Lesser General Public License for more details. nuclear@6: nuclear@6: You should have received a copy of the GNU Lesser General Public License nuclear@6: along with this program. If not, see . nuclear@6: */ nuclear@6: #ifndef VEC_H_ nuclear@6: #define VEC_H_ nuclear@6: nuclear@6: namespace goatkit { nuclear@6: nuclear@6: class Vec2 { nuclear@6: public: nuclear@6: float x, y; nuclear@6: nuclear@6: Vec2() : x(0), y(0) {} nuclear@6: Vec2(float xx, float yy) : x(xx), y(yy) {} nuclear@6: }; nuclear@6: nuclear@6: } // namespace goatkit nuclear@6: nuclear@6: #endif // VEC_H_