aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ParticleSystem.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-18 21:13:55 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-18 21:13:55 +0100
commit3855044ad97a41ca71b0d3ea2240f4eee93cc86f (patch)
tree204cc74691888b119d2b9c0c1a45fd8402758d0e /src/crepe/system/ParticleSystem.cpp
parent6e92c59b3364b00eb15c310120b93acc83ca504e (diff)
updating collision system
Diffstat (limited to 'src/crepe/system/ParticleSystem.cpp')
-rw-r--r--src/crepe/system/ParticleSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/system/ParticleSystem.cpp b/src/crepe/system/ParticleSystem.cpp
index 56f1dfd..3183fd7 100644
--- a/src/crepe/system/ParticleSystem.cpp
+++ b/src/crepe/system/ParticleSystem.cpp
@@ -7,7 +7,7 @@
#include "../api/Transform.h"
#include "../manager/ComponentManager.h"
#include "../manager/LoopTimerManager.h"
-#include "util/AbsoluutPosition.h"
+#include "util/AbsolutePosition.h"
#include "ParticleSystem.h"
@@ -49,7 +49,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);
+ vec2 initial_position = AbsolutePosition::get_position(transform, emitter.data.offset);
float random_angle
= this->generate_random_angle(emitter.data.min_angle, emitter.data.max_angle);