]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/camera.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / camera.h
index f6df873c1120586c04e6ce6fb3cfb80d55e15159..57f7395f33c85cdf6125e638f48b20561d8166a2 100644 (file)
@@ -4,6 +4,7 @@
 #include <msp/geometry/angle.h>
 #include <msp/linal/vector.h>
 #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<CameraData>
+class MSPGAME_API Camera: public BufferedComponent<CameraData>
 {
 public:
        using Setup = CameraSetup;