Fixed-capacity particle pool with O(1) swap-remove.
GPU-uploadable particle structs for all effect categories.
void update(float dt, Registry ®istry, glm::vec3 camPos, glm::vec3 camForward)
Simulate particles, drive continuous emitters, and sort for rendering.
Definition SmokeEffect.cpp:53
void spawn(glm::vec3 pos, float radius, bool isFire=false)
Spawn a cluster of smoke puffs at pos with the given radius.
Definition SmokeEffect.cpp:30
Fixed-capacity particle pool with O(1) swap-remove.
Definition ParticlePool.hpp:22
Smoke / fire billboard (uses noise texture for volumetric look).
Definition ParticleTypes.hpp:67