]> git.localhorst.tv Git - l2e.git/blobdiff - src/sdl/utility.cpp
renamed namespace geometry -> math
[l2e.git] / src / sdl / utility.cpp
index 101c3eef20d07fcc26d14b4273c385e8cbed4890..1dbf502cd953ed1698ac738ebfb3ca616e2ff9c3 100644 (file)
@@ -1,15 +1,8 @@
-/*
-  * utility.cpp
- *
- *  Created on: Oct 6, 2012
- *      Author: holy
- */
-
 #include "utility.h"
 
 #include <cmath>
 
-using geometry::Vector;
+using math::Vector;
 
 namespace sdl {
 
@@ -22,7 +15,7 @@ void HorizontalLine(SDL_Surface *dst, const Vector<int> &position, unsigned int
        SDL_FillRect(dst, &destRect, color);
 }
 
-void VerticalLine(SDL_Surface *dst, const geometry::Vector<int> &position, unsigned int length, Uint32 color) {
+void VerticalLine(SDL_Surface *dst, const math::Vector<int> &position, unsigned int length, Uint32 color) {
        SDL_Rect destRect;
        destRect.x = position.X();
        destRect.y = position.Y();