#ifndef SPACE_CAMERA_H_
#define SPACE_CAMERA_H_
-#include "../math/Vector.h"
+#include "Vector.h"
namespace space {
class Camera {
public:
- Camera(int w, int h, const Vector<float> &);
+ Camera(Vector<int> size, const Vector<float> &);
public:
void SetTarget(const Vector<float> &t) { target = &t; }
Vector<int> ScreenSize() const { return size; }
float Zoom() const { return zoom; }
- void Resize(int w, int h);
+ void Resize(int w, int h) { Resize(Vector<int>(w, h)); }
+ void Resize(Vector<int>);
void Update(float deltaT);
void StartZoom();