C4 Engine
C4 Engine API Documentation

ParticleSystem::AddFarthestParticle

Defined in:  C4Particles.h
Adds a new particle to a particle system and makes it first to render.
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

Particle

ParticleSystem::AddParticle

ParticleSystem::FreeParticle

ParticleSystem::GetFirstParticle

ParticleSystem::GetLastParticle

ParticlePool::NewParticle