X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FCamera.h;h=6067baba68e4b5c2cdc8f11e103ce7e152f38b72;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=49d0e46d7823396272f0ffef91b53bec621e43c4;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/graphics/Camera.h b/src/graphics/Camera.h index 49d0e46..6067bab 100644 --- a/src/graphics/Camera.h +++ b/src/graphics/Camera.h @@ -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 *target); + Camera(int width, int height, const math::Vector *target); ~Camera() { } public: void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; } - void SetTarget(const geometry::Vector *t); + void SetTarget(const math::Vector *t); - geometry::Vector CalculateOffset() const; + math::Vector CalculateOffset() const; private: - const geometry::Vector *target; + const math::Vector *target; int halfWidth; int halfHeight;