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;
}