diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 20:17:28 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 20:17:28 +0100 |
commit | 3e7a0a5a2c5ad14ee388f3ac460bf63bdb6ccfd5 (patch) | |
tree | 8bb56303e780e1992768a1433cf99ae4fd884907 /src/crepe/system/ParticleSystem.cpp | |
parent | d2c8a2bf07275f5458c576990b8742a710b15013 (diff) | |
parent | 8cd4b07e866d33589a7218367a5639b602c40c67 (diff) |
updated nan
Diffstat (limited to 'src/crepe/system/ParticleSystem.cpp')
-rw-r--r-- | src/crepe/system/ParticleSystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/system/ParticleSystem.cpp b/src/crepe/system/ParticleSystem.cpp index 31c1800..e66c603 100644 --- a/src/crepe/system/ParticleSystem.cpp +++ b/src/crepe/system/ParticleSystem.cpp @@ -51,7 +51,8 @@ void ParticleSystem::emit_particle(ParticleEmitter & emitter, const Transform & vec2 initial_position = AbsolutePosition::get_position(transform, emitter.data.offset); float random_angle - = this->generate_random_angle(emitter.data.min_angle+transform.rotation, emitter.data.max_angle+transform.rotation); + = this->generate_random_angle(emitter.data.min_angle + transform.rotation, + emitter.data.max_angle + transform.rotation); float random_speed = this->generate_random_speed(emitter.data.min_speed, emitter.data.max_speed); |