diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-20 11:35:25 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-20 11:35:25 +0100 |
commit | 52e84ca0a81210cd1dc61e096c228586649c9bfc (patch) | |
tree | 6442c070d225b4e348a3bc4603a52ad23f090da0 /src/crepe/system/RenderSystem.h | |
parent | 193e837fce92dcc169f995f670c9261f853ea1c3 (diff) |
updated adjsuted rendering based on feedback
Diffstat (limited to 'src/crepe/system/RenderSystem.h')
-rw-r--r-- | src/crepe/system/RenderSystem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/system/RenderSystem.h b/src/crepe/system/RenderSystem.h index c18b80b..6643084 100644 --- a/src/crepe/system/RenderSystem.h +++ b/src/crepe/system/RenderSystem.h @@ -5,6 +5,7 @@ #include "api/Transform.h" #include "System.h" +#include <cmath> namespace crepe { @@ -51,7 +52,7 @@ private: * \param tm the Transform component for scale * \return true if particles have been rendered */ - bool render_particle(const Sprite &, Transform tm); + bool render_particle(const Sprite &, const double & scale); /** * \brief renders a sprite with a Transform component on the screen |