diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-16 21:17:03 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-16 21:17:03 +0100 |
commit | cfbfef8deb9e278ad9a9023bda36fd3aa3f17373 (patch) | |
tree | a5a4ed0ddbe735638979b0457c81941d2ac8234a /src/example/rendering_particle.cpp | |
parent | 16f3aa77cfbfd3327a50a3f11f27e7d7dd303026 (diff) | |
parent | 20d19e3c714d3e8ca3e35c170c07c563ecc719bb (diff) |
Merge branch 'jaro/particle-system-improvement' of github.com:lonkaars/crepe into jaro/collision-system-handeling
Diffstat (limited to 'src/example/rendering_particle.cpp')
-rw-r--r-- | src/example/rendering_particle.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp index 13e625f..add43f4 100644 --- a/src/example/rendering_particle.cpp +++ b/src/example/rendering_particle.cpp @@ -18,28 +18,6 @@ using namespace crepe; using namespace std; -/* - auto & test = game_object.add_component<ParticleEmitter>(ParticleEmitter::Data{ - .position = {0, 0}, - .max_particles = 10, - .emission_rate = 0.1, - .min_speed = 6, - .max_speed = 20, - .min_angle = -20, - .max_angle = 20, - .begin_lifespan = 0, - .end_lifespan = 60, - .force_over_time = vec2{0, 0}, - .boundary{ - .width = 1000, - .height = 1000, - .offset = vec2{0, 0}, - .reset_on_exit = false, - }, - .sprite = test_sprite, - }); - */ - class TestScene : public Scene { public: void load_scene() { |