]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Camera.h
removed stupid file headers that eclipse put in
[l2e.git] / src / graphics / Camera.h
index 16c0caf762b409124715280db364457f44831c5e..49d0e46d7823396272f0ffef91b53bec621e43c4 100644 (file)
@@ -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<int> *target);
+       Camera(int width, int height, const geometry::Vector<float> *target);
        ~Camera() { }
 
 public:
        void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; }
-       void SetTarget(const geometry::Vector<int> *t);
+       void SetTarget(const geometry::Vector<float> *t);
 
        geometry::Vector<int> CalculateOffset() const;
 
 private:
-       const geometry::Vector<int> *target;
+       const geometry::Vector<float> *target;
        int halfWidth;
        int halfHeight;