ExplosionNukeRendererEntry Class Reference

#include <ExplosionNukeRenderer.h>

Inheritance diagram for ExplosionNukeRendererEntry:

ParticleUserData

List of all members.

Public Member Functions

 ExplosionNukeRendererEntry (Vector &position, float size)
virtual ~ExplosionNukeRendererEntry ()
void simulate (Particle *particle, float time)
float getCloudRotation ()
VectorgetRotation ()

Protected Attributes

float size_
float totalTime_
float cloudRotation_
Vector rotation_
Vector startPosition_


Detailed Description

Definition at line 31 of file ExplosionNukeRenderer.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 40 of file ExplosionNukeRenderer.h.

References rotation_.


Member Data Documentation

float ExplosionNukeRendererEntry::size_ [protected]

Definition at line 43 of file ExplosionNukeRenderer.h.

Referenced by simulate().

float ExplosionNukeRendererEntry::totalTime_ [protected]

Definition at line 44 of file ExplosionNukeRenderer.h.

Referenced by simulate().

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]

Definition at line 47 of file ExplosionNukeRenderer.h.

Referenced by simulate().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:01 2009 for Scorched3D by  doxygen 1.5.3