]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Camera.h
renamed namespace geometry -> math
[l2e.git] / src / graphics / Camera.h
index 49d0e46d7823396272f0ffef91b53bec621e43c4..6067baba68e4b5c2cdc8f11e103ce7e152f38b72 100644 (file)
@@ -1,24 +1,24 @@
 #ifndef GRAPHICS_CAMERA_H_
 #define GRAPHICS_CAMERA_H_
 
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 
 namespace graphics {
 
 class Camera {
 
 public:
-       Camera(int width, int height, const geometry::Vector<float> *target);
+       Camera(int width, int height, const math::Vector<float> *target);
        ~Camera() { }
 
 public:
        void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; }
-       void SetTarget(const geometry::Vector<float> *t);
+       void SetTarget(const math::Vector<float> *t);
 
-       geometry::Vector<int> CalculateOffset() const;
+       math::Vector<int> CalculateOffset() const;
 
 private:
-       const geometry::Vector<float> *target;
+       const math::Vector<float> *target;
        int halfWidth;
        int halfHeight;