X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fsdl%2Futility.h;h=0067c36d16d70d1ab412ff34eaa7b82f74b113ec;hb=HEAD;hp=d63c78f59f98a77746bfe6f26d31783a0260252f;hpb=3b5b2b79db22ef40c031d791a976310ea49e0d8e;p=l2e.git diff --git a/src/sdl/utility.h b/src/sdl/utility.h index d63c78f..0067c36 100644 --- a/src/sdl/utility.h +++ b/src/sdl/utility.h @@ -1,24 +1,17 @@ -/* - * utility.h - * - * Created on: Oct 6, 2012 - * Author: holy - */ - #ifndef SDL_UTILITY_H_ #define SDL_UTILITY_H_ -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include namespace sdl { -void HorizontalLine(SDL_Surface *dst, const geometry::Vector &position, unsigned int length, Uint32 color); -void VerticalLine(SDL_Surface *dst, const geometry::Vector &position, unsigned int length, Uint32 color); +void HorizontalLine(SDL_Surface *dst, const math::Vector &position, unsigned int length, Uint32 color); +void VerticalLine(SDL_Surface *dst, const math::Vector &position, unsigned int length, Uint32 color); -void OutlineRect(SDL_Surface *dst, const geometry::Vector &from, const geometry::Vector &to, Uint32 color); +void OutlineRect(SDL_Surface *dst, const math::Vector &from, const math::Vector &to, Uint32 color); void OutlineRect(SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color); } -#endif /* SDL_UTILITY_H_ */ +#endif