NapalmRenderer Class Reference

#include <NapalmRenderer.h>

Inheritance diagram for NapalmRenderer:

ParticleUserData

List of all members.

Public Member Functions

 NapalmRenderer (GLTextureSet *set)
virtual ~NapalmRenderer ()
void draw (Particle *particle)
void simulate (Particle *particle, float timepassed)

Protected Attributes

int plus_
float textureNo_
GLTextureSetset_


Detailed Description

Definition at line 27 of file NapalmRenderer.h.


Constructor & Destructor Documentation

NapalmRenderer::NapalmRenderer ( GLTextureSet set  ) 

Definition at line 27 of file NapalmRenderer.cpp.

References GLTextureSet::getNoTextures(), int(), plus_, RAND, and set_.

NapalmRenderer::~NapalmRenderer (  )  [virtual]

Definition at line 34 of file NapalmRenderer.cpp.


Member Function Documentation

void NapalmRenderer::draw ( Particle particle  ) 

Definition at line 38 of file NapalmRenderer.cpp.

References fixed::asFloat(), LandscapeMaps::getGroundMaps(), GroundMaps::getHeight(), ScorchedContext::getLandscapeMaps(), ScorchedClient::instance(), Particle::position_, and Particle::size_.

Referenced by ParticleRendererNapalm::renderParticle().

void NapalmRenderer::simulate ( Particle particle,
float  timepassed 
)

Definition at line 46 of file NapalmRenderer.cpp.

References GLTextureSet::getNoTextures(), GLTextureSet::getTexture(), int(), plus_, set_, Particle::texture_, and textureNo_.

Referenced by ParticleRendererNapalm::simulateParticle().


Member Data Documentation

int NapalmRenderer::plus_ [protected]

Definition at line 37 of file NapalmRenderer.h.

Referenced by NapalmRenderer(), and simulate().

float NapalmRenderer::textureNo_ [protected]

Definition at line 38 of file NapalmRenderer.h.

Referenced by simulate().

GLTextureSet* NapalmRenderer::set_ [protected]

Definition at line 39 of file NapalmRenderer.h.

Referenced by NapalmRenderer(), and simulate().


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