1 #ifndef GRAPHICS_CAMERA_H_
2 #define GRAPHICS_CAMERA_H_
4 #include "../math/Fixed.h"
5 #include "../math/Vector.h"
12 Camera(int width, int height, const math::Vector<math::Fixed<8> > *target);
16 void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; }
17 void SetTarget(const math::Vector<math::Fixed<8> > *t);
19 math::Vector<int> CalculateOffset() const;
22 const math::Vector<math::Fixed<8> > *target;