aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ParticleSystem.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-16 21:22:35 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-16 21:22:35 +0100
commit5bece30f9ad495a0e82097b2c5668e979856fb69 (patch)
tree82d897004f17dfe06f6453ebc9f244ed0d4d53a7 /src/crepe/system/ParticleSystem.cpp
parentea7beae5974838b6e1727c539b0899ad157bc1fb (diff)
make format
Diffstat (limited to 'src/crepe/system/ParticleSystem.cpp')
-rw-r--r--src/crepe/system/ParticleSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/system/ParticleSystem.cpp b/src/crepe/system/ParticleSystem.cpp
index fb6cfd7..56f1dfd 100644
--- a/src/crepe/system/ParticleSystem.cpp
+++ b/src/crepe/system/ParticleSystem.cpp
@@ -48,7 +48,7 @@ void ParticleSystem::update() {
void ParticleSystem::emit_particle(ParticleEmitter & emitter, const Transform & transform) {
constexpr float DEG_TO_RAD = M_PI / 180.0;
-
+
vec2 initial_position = AbsoluutPosition::get_position(transform, emitter.data.offset);
float random_angle
= this->generate_random_angle(emitter.data.min_angle, emitter.data.max_angle);