mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 14:49:19 +02:00
particles: do not use reserve/capacity, use separate var
This commit is contained in:
@@ -146,6 +146,7 @@ private:
|
||||
// current state
|
||||
float m_spawncount { 0.f }; // number of particles to spawn during next update
|
||||
particle_sequence m_particles; // collection of spawned particles
|
||||
size_t m_max_particles; // maximum number of particles existing
|
||||
/*
|
||||
smoke_sequence::iterator // helpers, iterators marking currently used part of the particle container
|
||||
m_particlehead,
|
||||
|
||||
Reference in New Issue
Block a user