|
Implements ParticleSystem.
Definition at line 55 of file OpenGLParticleSystem.cpp.
References Clamp, GL_TEXTURE0_ARB, glMultiTexCoord2fARB, int(), Particle::m_age, ParticleSystem::m_age, ParticleSystem::m_alive, Particle::m_alpha, ParticleSystem::m_alphaEnd, ParticleSystem::m_alphaStart, ParticleSystem::m_alphaVar, ParticleSystem::m_baseLocation, Particle::m_color, ParticleSystem::m_colorEnd, ParticleSystem::m_colorStart, ParticleSystem::m_colorVar, Particle::m_dAlpha, Particle::m_dColor, Particle::m_dGravity, Particle::m_dSize, ParticleSystem::m_emissionResidue, Particle::m_gravity, ParticleSystem::m_gravityEnd, ParticleSystem::m_gravityStart, ParticleSystem::m_gravityVar, ParticleSystem::m_isMoving, ParticleSystem::m_isSuppressed, ParticleSystem::m_life, Particle::m_lifetime, ParticleSystem::m_lifeVar, Particle::m_location, ParticleSystem::m_location, ParticleSystem::m_particles, ParticleSystem::m_particlesAlive, ParticleSystem::m_particlesPerSec, Particle::m_prevLocation, ParticleSystem::m_prevLocation, Particle::m_size, ParticleSystem::m_sizeEnd, ParticleSystem::m_sizeStart, ParticleSystem::m_sizeVar, ParticleSystem::m_speed, ParticleSystem::m_speedVar, ParticleSystem::m_theta, ParticleSystem::m_timeLastUpdate, Particle::m_velocity, MAX_ALPHA, MAX_GRAVITY, MAX_LIFETIME, MAX_PARTICLES, MAX_SIZE, MAX_SPEED, MIN_ALPHA, MIN_GRAVITY, MIN_LIFETIME, MIN_SIZE, MIN_SPEED, RANDOM_NUM, Particle::setParent(), ParticleSystem::update(), Vec4::w, Vec4::x, Vec3::x, Vec3::y, Vec4::y, Vec4::z, and Vec3::z.
Referenced by Menu::drawFrame(), and Play::drawParticleSystems().
Here is the call graph for this function:
|