diff --git a/inferno/src/inferno/system/camerasystem.cpp b/inferno/src/inferno/system/camerasystem.cpp index aab328c..c527976 100644 --- a/inferno/src/inferno/system/camerasystem.cpp +++ b/inferno/src/inferno/system/camerasystem.cpp @@ -3,6 +3,8 @@ #include "inferno/application.h" #include "inferno/assert.h" +#include "inferno/component/cameracomponent.h" +#include "inferno/component/transformcomponent.h" #include "inferno/io/input.h" #include "inferno/io/log.h" #include "inferno/system/camerasystem.h" diff --git a/inferno/src/inferno/system/camerasystem.h b/inferno/src/inferno/system/camerasystem.h index 623a030..ed2bb6a 100644 --- a/inferno/src/inferno/system/camerasystem.h +++ b/inferno/src/inferno/system/camerasystem.h @@ -5,8 +5,6 @@ #include "entt/entity/registry.hpp" // entt::entity, entt::registry -#include "inferno/component/cameracomponent.h" -#include "inferno/component/transformcomponent.h" #include "inferno/singleton.h" #define NEAR_PLANE 0.1f @@ -14,6 +12,9 @@ namespace Inferno { + struct TransformComponent; + struct CameraComponent; + class CameraSystem final : public Singleton { public: CameraSystem(s);