1 #ifndef GRAPHICS_CAMERA_H_
2 #define GRAPHICS_CAMERA_H_
4 #include "../geometry/Vector.h"
11 Camera(int width, int height, const geometry::Vector<float> *target);
15 void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; }
16 void SetTarget(const geometry::Vector<float> *t);
18 geometry::Vector<int> CalculateOffset() const;
21 const geometry::Vector<float> *target;
29 #endif /* GRAPHICS_CAMERA_H_ */