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