16
0
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:
milek7
2019-08-10 17:45:44 +02:00
parent c45081b2eb
commit ac7a15d667
2 changed files with 5 additions and 4 deletions

View File

@@ -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,