X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FCamera.h;h=7403d6faf2ce19a652aabc5d010c5826f66410cc;hb=abfa371d1d2c14052d4cbfc885b8383c6da7d499;hp=ea4e6d53b43a2e835797d7abc1499407af7e0f5b;hpb=b20681c1bf555c337b15796b3910d0d48488b102;p=l2e.git diff --git a/src/graphics/Camera.h b/src/graphics/Camera.h index ea4e6d5..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;