diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-10 15:25:13 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-10 15:25:13 +0100 |
commit | b668abb3a0671c1233bb30d038a5a53018aa8620 (patch) | |
tree | d84c244301e76b2e36302b84f4ac000c88edfef4 /src/crepe/api/ParticleEmitter.cpp | |
parent | 4e6f10f2d6ed593a21b985ccabe305a9cd6212cc (diff) |
added unit test for particles
Diffstat (limited to 'src/crepe/api/ParticleEmitter.cpp')
-rw-r--r-- | src/crepe/api/ParticleEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/ParticleEmitter.cpp b/src/crepe/api/ParticleEmitter.cpp index f585a81..000bf30 100644 --- a/src/crepe/api/ParticleEmitter.cpp +++ b/src/crepe/api/ParticleEmitter.cpp @@ -3,7 +3,7 @@ using namespace crepe; -ParticleEmitter::ParticleEmitter(uint32_t game_object_id, const ParticleEmitterData& data) : Component(game_object_id),data(data) { +ParticleEmitter::ParticleEmitter(uint32_t game_object_id, const Data& data) : Component(game_object_id),data(data) { for (size_t i = 0; i < this->data.max_particles; i++) { this->data.particles.emplace_back(); } |