void ParticleContainer::clear() { clearLocally(); if (mNext) mNext->clear(); }
ParticleContainer::~ParticleContainer() { clearLocally(); if (mDelParent) { delete mNext; mNext = nullptr; } }
ParticleContainer::~ParticleContainer() { clearLocally(); if (mNext && mDelParent) destroy(mNext); }
ParticleContainer::~ParticleContainer() { clearLocally(); if (mDelParent) delete mNext; }