MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / ~ParticleAffectorFactory

Method ~ParticleAffectorFactory

OgreMain/src/OgreParticleSystem.cpp:1607–1617  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1605 ParticleAffector::~ParticleAffector() {}
1606 //-----------------------------------------------------------------------
1607 ParticleAffectorFactory::~ParticleAffectorFactory()
1608 {
1609 // Destroy all affectors
1610 vector<ParticleAffector *>::type::iterator i;
1611 for( i = mAffectors.begin(); i != mAffectors.end(); ++i )
1612 {
1613 OGRE_DELETE( *i );
1614 }
1615
1616 mAffectors.clear();
1617 }
1618 //-----------------------------------------------------------------------
1619 void ParticleAffectorFactory::destroyAffector( ParticleAffector *e )
1620 {

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected