-----------------------------------------------------------------------
| 256 | } |
| 257 | //----------------------------------------------------------------------- |
| 258 | void ParticleSystem::removeAffector( unsigned short index ) |
| 259 | { |
| 260 | assert( index < mAffectors.size() && "Affector index out of bounds!" ); |
| 261 | ParticleAffectorList::iterator ai = mAffectors.begin() + index; |
| 262 | ParticleSystemManager::getSingleton()._destroyAffector( *ai ); |
| 263 | mAffectors.erase( ai ); |
| 264 | } |
| 265 | //----------------------------------------------------------------------- |
| 266 | void ParticleSystem::removeAllAffectors() |
| 267 | { |
nothing calls this directly
no test coverage detected