diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-18 21:07:26 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-18 21:07:26 +0100 |
commit | 66bbea079bf1ae84c355349d337db468c18eac32 (patch) | |
tree | 68a3d8baf7e8104a375b0d5a2c515cdd8b03951f /src/crepe/system/RenderSystem.h | |
parent | bae2501c9e2604497db152d5e3df6a018cdd6858 (diff) |
feedback from PR#38 implemented
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r-- | src/crepe/system/RenderSystem.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h index 7661cbd..1176b06 100644 --- a/src/crepe/system/RenderSystem.h +++ b/src/crepe/system/RenderSystem.h @@ -1,12 +1,14 @@ #pragma once -#include "api/Camera.h" -#include "System.h" -#include "api/Sprite.h" #include <functional> #include <vector> +#include "api/Sprite.h" +#include "api/Camera.h" + +#include "System.h" + namespace crepe { /** @@ -54,7 +56,7 @@ private: private: //! Pointer to the current active camera for rendering - Camera * curr_cam = nullptr; + Camera * curr_cam_ref = nullptr; // TODO: needs a better solution }; |