X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FCamera.h;fp=src%2Fgraphics%2FCamera.h;h=b35acf92abe37d3738f2b7af0fd0b08d548cec99;hb=b8790ff84da07774a2eb986ca6b9379a16a8ea7b;hp=16c0caf762b409124715280db364457f44831c5e;hpb=a8fdd58e31c27a2de9649a1bf29389f4f3e4cb7c;p=l2e.git diff --git a/src/graphics/Camera.h b/src/graphics/Camera.h index 16c0caf..b35acf9 100644 --- a/src/graphics/Camera.h +++ b/src/graphics/Camera.h @@ -15,17 +15,17 @@ namespace graphics { class Camera { public: - Camera(int width, int height, const geometry::Vector *target); + Camera(int width, int height, const geometry::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 geometry::Vector *t); geometry::Vector CalculateOffset() const; private: - const geometry::Vector *target; + const geometry::Vector *target; int halfWidth; int halfHeight;