]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Camera.h
removed useless comments
[l2e.git] / src / graphics / Camera.h
index b35acf92abe37d3738f2b7af0fd0b08d548cec99..ea4e6d53b43a2e835797d7abc1499407af7e0f5b 100644 (file)
@@ -1,31 +1,25 @@
-/*
- * Camera.h
- *
- *  Created on: Sep 29, 2012
- *      Author: holy
- */
-
 #ifndef GRAPHICS_CAMERA_H_
 #define GRAPHICS_CAMERA_H_
 
-#include "../geometry/Vector.h"
+#include "../math/Fixed.h"
+#include "../math/Vector.h"
 
 namespace graphics {
 
 class Camera {
 
 public:
-       Camera(int width, int height, const geometry::Vector<float> *target);
+       Camera(int width, int height, const math::Vector<math::Fixed<8> > *target);
        ~Camera() { }
 
 public:
        void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; }
-       void SetTarget(const geometry::Vector<float> *t);
+       void SetTarget(const math::Vector<math::Fixed<8> > *t);
 
-       geometry::Vector<int> CalculateOffset() const;
+       math::Vector<int> CalculateOffset() const;
 
 private:
-       const geometry::Vector<float> *target;
+       const math::Vector<math::Fixed<8> > *target;
        int halfWidth;
        int halfHeight;
 
@@ -33,4 +27,4 @@ private:
 
 }
 
-#endif /* GRAPHICS_CAMERA_H_ */
+#endif