aboutsummaryrefslogtreecommitdiff
path: root/src/example/rendering_particle.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-12 15:32:07 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-12 15:32:07 +0100
commitafd81007153f05c8f8b42bcf08a8cdf8ce13a98c (patch)
tree1c6eec51833d34c06118b1c76f19f035b526d6c6 /src/example/rendering_particle.cpp
parent3de0a0f12d9d91e120f92975bda6f9915e5b8fcb (diff)
updated particle emitter
Diffstat (limited to 'src/example/rendering_particle.cpp')
-rw-r--r--src/example/rendering_particle.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 13e625f..2b5c041 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -17,28 +17,7 @@
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: