X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgame%2Fcamera.h;h=57f7395f33c85cdf6125e638f48b20561d8166a2;hb=12c863fc1bc5456a4b3aceacc88904d76bd1d8bb;hp=f6df873c1120586c04e6ce6fb3cfb80d55e15159;hpb=3b551a2caabdfebaac592b5fcbbeb6cbfe2fd43f;p=libs%2Fgame.git diff --git a/source/game/camera.h b/source/game/camera.h index f6df873..57f7395 100644 --- a/source/game/camera.h +++ b/source/game/camera.h @@ -4,6 +4,7 @@ #include #include #include "component.h" +#include "mspgame_api.h" namespace Msp::Game { @@ -38,7 +39,7 @@ struct CameraData float get_aspect() const { return size.x/size.y; } }; -class Camera: public BufferedComponent +class MSPGAME_API Camera: public BufferedComponent { public: using Setup = CameraSetup;