update particles randomizer

This commit is contained in:
MihailRis
2024-11-03 02:26:11 +03:00
parent 7abb1a88c7
commit 082a87db4e
3 changed files with 6 additions and 3 deletions
+3
View File
@@ -7,6 +7,7 @@
#include "typedefs.hpp"
#include "maths/UVRegion.hpp"
#include "maths/util.hpp"
class Emitter;
@@ -50,6 +51,8 @@ class Emitter {
float timer = 0.0f;
/// @brief Random velocity magnitude applying to spawned particles
glm::vec3 explosion {8.0f};
util::PseudoRandom random;
public:
ParticleBehaviour behaviour;