Skip to content

Commit ab85ca2

Browse files
committed
Add ENGINE_API to Camera, MeshComponent, TransformComponent
1 parent 445345e commit ab85ca2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Engine/include/public/Camera/Camera.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace Sleak {
1111
enum class ProjectionType {Perspective, Orthographic};
12-
class Camera : public GameObject {
12+
class ENGINE_API Camera : public GameObject {
1313
public:
1414
Camera(std::string name = "Camera",
1515
Math::Vector3D Position = Math::Vector3D(0, 0, -3.5),

Engine/include/public/ECS/Components/MeshComponent.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Sleak {
1818
void* data;
1919
};
2020

21-
class MeshComponent : public Component {
21+
class ENGINE_API MeshComponent : public Component {
2222
public:
2323
MeshComponent(GameObject* object) : Component(object) {}
2424
MeshComponent(GameObject*, MeshData data);

Engine/include/public/ECS/Components/TransformComponent.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace Sleak {
2222
* retrieving the transform properties, as well as calculating transformation
2323
* matrices for rendering and physics calculations.
2424
*/
25-
class TransformComponent : public Component {
25+
class ENGINE_API TransformComponent : public Component {
2626
public:
2727
// Constructors
2828
TransformComponent(GameObject* object, const Vector3D& position);

0 commit comments

Comments
 (0)