diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 08:11:27 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 08:11:27 +0100 |
commit | 5a087d8a01d00a737ae602370c2c3514294da88d (patch) | |
tree | a15305269ce8d2455ebbf27359ba3cd4cd7a7a0b /src/crepe | |
parent | be36b204c6dc597f74541e926f2f2821ab553228 (diff) |
rotating sprite on particle
Diffstat (limited to 'src/crepe')
-rw-r--r-- | src/crepe/system/RenderSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/RenderSystem.cpp b/src/crepe/system/RenderSystem.cpp index d76a122..1091c3f 100644 --- a/src/crepe/system/RenderSystem.cpp +++ b/src/crepe/system/RenderSystem.cpp @@ -98,7 +98,7 @@ bool RenderSystem::render_particle(const Sprite & sprite, const double & scale) .sprite = sprite, .texture = res, .pos = p.position, - .angle = p.angle, + .angle = p.angle+sprite.data.angle_offset, .scale = scale, }); } |