4 * Created on: Sep 29, 2012
8 #ifndef GRAPHICS_CAMERA_H_
9 #define GRAPHICS_CAMERA_H_
11 #include "../geometry/Vector.h"
18 Camera(int width, int height, const geometry::Vector<float> *target);
22 void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; }
23 void SetTarget(const geometry::Vector<float> *t);
25 geometry::Vector<int> CalculateOffset() const;
28 const geometry::Vector<float> *target;
36 #endif /* GRAPHICS_CAMERA_H_ */