X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FCamera.h;h=49d0e46d7823396272f0ffef91b53bec621e43c4;hb=2255d436a0c2acc10b015827366a72b2ece86094;hp=16c0caf762b409124715280db364457f44831c5e;hpb=e9bdecf5f58fb9e5b2c067c20d0ce70f54f9ecb7;p=l2e.git diff --git a/src/graphics/Camera.h b/src/graphics/Camera.h index 16c0caf..49d0e46 100644 --- a/src/graphics/Camera.h +++ b/src/graphics/Camera.h @@ -1,10 +1,3 @@ -/* - * Camera.h - * - * Created on: Sep 29, 2012 - * Author: holy - */ - #ifndef GRAPHICS_CAMERA_H_ #define GRAPHICS_CAMERA_H_ @@ -15,17 +8,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;