X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fsdl%2Futility.cpp;h=1dbf502cd953ed1698ac738ebfb3ca616e2ff9c3;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=101c3eef20d07fcc26d14b4273c385e8cbed4890;hpb=3b5b2b79db22ef40c031d791a976310ea49e0d8e;p=l2e.git diff --git a/src/sdl/utility.cpp b/src/sdl/utility.cpp index 101c3ee..1dbf502 100644 --- a/src/sdl/utility.cpp +++ b/src/sdl/utility.cpp @@ -1,15 +1,8 @@ -/* - * utility.cpp - * - * Created on: Oct 6, 2012 - * Author: holy - */ - #include "utility.h" #include -using geometry::Vector; +using math::Vector; namespace sdl { @@ -22,7 +15,7 @@ void HorizontalLine(SDL_Surface *dst, const Vector &position, unsigned int SDL_FillRect(dst, &destRect, color); } -void VerticalLine(SDL_Surface *dst, const geometry::Vector &position, unsigned int length, Uint32 color) { +void VerticalLine(SDL_Surface *dst, const math::Vector &position, unsigned int length, Uint32 color) { SDL_Rect destRect; destRect.x = position.X(); destRect.y = position.Y();