]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Camera.h
changed camera target to float
[l2e.git] / src / graphics / Camera.h
index 16c0caf762b409124715280db364457f44831c5e..b35acf92abe37d3738f2b7af0fd0b08d548cec99 100644 (file)
@@ -15,17 +15,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;