#include <Particle.h>
Public Member Functions | |
Particle () | |
~Particle () | |
bool | update (float dTime) |
void | setParent (ParticleSystem *parent) |
Public Attributes | |
Vec3 | m_prevLocation |
Vec3 | m_location |
Vec3 | m_velocity |
Vec4 | m_color |
Vec4 | m_dColor |
float | m_age |
float | m_lifetime |
float | m_size |
float | m_dSize |
float | m_alpha |
float | m_dAlpha |
float | m_gravity |
float | m_dGravity |
float | m_orbiting |
Private Attributes | |
ParticleSystem * | m_parent |
Definition at line 16 of file Particle.h.
|
Definition at line 12 of file Particle.cpp. References m_age, m_color, m_parent, m_size, Vec4::w, Vec4::x, Vec4::y, and Vec4::z. |
|
Definition at line 22 of file Particle.cpp. |
|
Definition at line 64 of file Particle.cpp. References m_parent. Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update(). |
|
Definition at line 26 of file Particle.cpp. References ParticleSystem::getLocation(), ParticleSystem::isAttractive(), m_age, m_alpha, m_color, m_dAlpha, m_dColor, m_dGravity, m_dSize, m_gravity, m_lifetime, m_location, m_parent, m_prevLocation, m_size, m_velocity, Vec3::normalize(), p_gravity, Vec4::x, Vec4::y, and Vec4::z. Here is the call graph for this function: |
|
Definition at line 31 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), Particle(), ParticleSystem::update(), and update(). |
|
Definition at line 35 of file Particle.h. Referenced by OpenGLParticleSystem::draw(), OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 28 of file Particle.h. Referenced by OpenGLParticleSystem::draw(), OpenGLParticleSystem::drawAndUpdate(), Particle(), ParticleSystem::update(), and update(). |
|
Definition at line 36 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 29 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 38 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 34 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 37 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 32 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 26 of file Particle.h. Referenced by OpenGLParticleSystem::draw(), OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 40 of file Particle.h. |
|
Definition at line 43 of file Particle.h. Referenced by Particle(), setParent(), and update(). |
|
Definition at line 25 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |
|
Definition at line 33 of file Particle.h. Referenced by OpenGLParticleSystem::draw(), OpenGLParticleSystem::drawAndUpdate(), Particle(), ParticleSystem::update(), and update(). |
|
Definition at line 27 of file Particle.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), ParticleSystem::update(), and update(). |