]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/transform.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / transform.h
index 1239546be803dec1c89f23a63e4f19bb6a252cf1..fc63f29d4dbfa0d082bfa014269c78e20797a0bb 100644 (file)
@@ -5,6 +5,7 @@
 #include <msp/linal/matrix.h>
 #include <msp/linal/vector.h>
 #include "component.h"
+#include "mspgame_api.h"
 
 namespace Msp::Game {
 
@@ -29,7 +30,7 @@ struct TransformData
        LinAl::Matrix<float, 4, 4> world_matrix = LinAl::Matrix<float, 4, 4>::identity();
 };
 
-class Transform: public BufferedComponent<TransformData>
+class MSPGAME_API Transform: public BufferedComponent<TransformData>
 {
 public:
        Transform(Handle<Entity>);