X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgame%2Fcamera.h;h=57f7395f33c85cdf6125e638f48b20561d8166a2;hb=f4ca190e869b9d03bf4f8b7b002c65af9f56c0ad;hp=f6df873c1120586c04e6ce6fb3cfb80d55e15159;hpb=bfbcfa2678c70d661cb9104b2ef677d7d7b5a637;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;