ParticleSystem::AddFarthestParticle
Defined in:
Adds a new particle to a particle system and makes it first to render.
C4Particles.h
Prototype
void AddFarthestParticle(Particle *particle);
Parameters
particle |
The particle to add to the system. |
Description
The AddFarthestParticle
function adds the particle specified by the particle
parameter to a particle system and ensures that it will be the last particle rendered. The new particle would typically have been allocated by calling the ParticlePool::NewParticle
function and then filling in the initial state of the Particle
structure (or one of its subclasses).
See Also
ParticleSystem::GetFirstParticle