#include <ExplosionNukeRenderer.h>

Public Member Functions | |
| ExplosionNukeRendererEntry (Vector &position, float size) | |
| virtual | ~ExplosionNukeRendererEntry () |
| void | simulate (Particle *particle, float time) |
| float | getCloudRotation () |
| Vector & | getRotation () |
Protected Attributes | |
| float | size_ |
| float | totalTime_ |
| float | cloudRotation_ |
| Vector | rotation_ |
| Vector | startPosition_ |
Definition at line 31 of file ExplosionNukeRenderer.h.
| ExplosionNukeRendererEntry::ExplosionNukeRendererEntry | ( | Vector & | position, | |
| float | size | |||
| ) |
Definition at line 32 of file ExplosionNukeRenderer.cpp.
References cloudRotation_, getFastCos(), getFastSin(), RAND, and rotation_.
| ExplosionNukeRendererEntry::~ExplosionNukeRendererEntry | ( | ) | [virtual] |
Definition at line 45 of file ExplosionNukeRenderer.cpp.
| void ExplosionNukeRendererEntry::simulate | ( | Particle * | particle, | |
| float | time | |||
| ) |
Definition at line 49 of file ExplosionNukeRenderer.cpp.
References cloudRotation_, ExplosionNukeRenderer_STEPS, int(), Particle::position_, ExplosionNukeRenderer::positions_, rotation_, size_, startPosition_, and totalTime_.
Referenced by ParticleRendererMushroom::simulateParticle().
| float ExplosionNukeRendererEntry::getCloudRotation | ( | ) | [inline] |
Definition at line 39 of file ExplosionNukeRenderer.h.
References cloudRotation_.
Referenced by ParticleRendererMushroom::renderParticle().
| Vector& ExplosionNukeRendererEntry::getRotation | ( | ) | [inline] |
float ExplosionNukeRendererEntry::size_ [protected] |
float ExplosionNukeRendererEntry::totalTime_ [protected] |
float ExplosionNukeRendererEntry::cloudRotation_ [protected] |
Definition at line 45 of file ExplosionNukeRenderer.h.
Referenced by ExplosionNukeRendererEntry(), getCloudRotation(), and simulate().
Vector ExplosionNukeRendererEntry::rotation_ [protected] |
Definition at line 46 of file ExplosionNukeRenderer.h.
Referenced by ExplosionNukeRendererEntry(), getRotation(), and simulate().
Vector ExplosionNukeRendererEntry::startPosition_ [protected] |
1.5.3