Hi all,

Currently when I want to destroy all the particles from an emitter I do :

  for (int i = 0; i < _emitter->getParticleSystem()->numParticles(); i++)
    {
        _emitter->getParticleSystem()->destroyParticle(i);
    }

But I am really not sure that is the proper way to do it. Moreover It seems
that the particles are not really destroyed.
That is why I would like to know if there is a better way to do it ?

Thanks in advance for any help.

-- 
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to