X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FCamera.h;h=7403d6faf2ce19a652aabc5d010c5826f66410cc;hb=abfa371d1d2c14052d4cbfc885b8383c6da7d499;hp=4b2216b8c8d96773e6ebf2252c97f0fc1f732073;hpb=5d1a76ae7725af998c6ee46adfe492c68ee1d34f;p=l2e.git diff --git a/src/graphics/Camera.h b/src/graphics/Camera.h index 4b2216b..7403d6f 100644 --- a/src/graphics/Camera.h +++ b/src/graphics/Camera.h @@ -15,6 +15,7 @@ public: public: void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; } void SetTarget(const math::Vector > *t); + const math::Vector > *GetTarget() const { return target; } math::Vector CalculateOffset() const; @@ -27,4 +28,4 @@ private: } -#endif /* GRAPHICS_CAMERA_H_ */ +#endif