Classes | |
| struct | Explosion |
| struct | Particle |
Functions | |
| float | random_float (float min, float max) |
Variables | |
| constexpr std::size_t | MAX_EXPLOSIONS = 256 |
| constexpr float | MAX_LIFETIME = 2.0f |
| constexpr std::size_t | MAX_PARTICLES = PARTICLES_PER_EXPLOSION * MAX_EXPLOSIONS |
| constexpr float | MIN_LIFETIME = 0.5f |
| constexpr float | PARTICLE_SIZE = 25.0f |
| constexpr float | PARTICLE_SPEED = 1.0f |
| constexpr std::size_t | PARTICLES_PER_EXPLOSION = 250 |
|
nodiscard |
Definition at line 42 of file fireworks.cpp.
|
constexpr |
Definition at line 23 of file fireworks.cpp.
|
constexpr |
Definition at line 26 of file fireworks.cpp.
|
constexpr |
Definition at line 24 of file fireworks.cpp.
|
constexpr |
Definition at line 25 of file fireworks.cpp.
|
constexpr |
Definition at line 28 of file fireworks.cpp.
|
constexpr |
Definition at line 27 of file fireworks.cpp.
|
constexpr |
Definition at line 22 of file fireworks.cpp.