X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FCamera.h;h=b35acf92abe37d3738f2b7af0fd0b08d548cec99;hb=c806ec0b9fde2cd3e8313b4a2c38e62a0ff14365;hp=16c0caf762b409124715280db364457f44831c5e;hpb=e9bdecf5f58fb9e5b2c067c20d0ce70f54f9ecb7;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;