]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Camera.cpp
moved map sprites to data file
[l2e.git] / src / graphics / Camera.cpp
index d43864ad6d2a44eef942251382c1f56f2f1300ea..a0773db821ca1a14a0ec6fafa066f7533cda8d1a 100644 (file)
@@ -13,13 +13,13 @@ using geometry::Vector;
 
 namespace graphics {
 
-Camera::Camera(int width, int height, const Vector<int> *target)
+Camera::Camera(int width, int height, const Vector<float> *target)
 : target(target), halfWidth(width / 2), halfHeight(height / 2) {
        assert(target && "construct camera without target");
 }
 
 
-void Camera::SetTarget(const Vector<int> *t) {
+void Camera::SetTarget(const Vector<float> *t) {
        assert(t && "cannot change camera target to 0");
        target = t;
 }