DebrisActionRenderer Class Reference

#include <DebrisActionRenderer.h>

Inheritance diagram for DebrisActionRenderer:

ParticleUserData

List of all members.

Public Member Functions

 DebrisActionRenderer ()
virtual ~DebrisActionRenderer ()
void simulate (float time)
void draw (Vector &position)

Protected Attributes

ModelRendererSimulatordebris_
float rotationAng_
float rotationX_
float rotationY_
float rotationZ_
float rotationSpeed_


Detailed Description

Definition at line 28 of file DebrisActionRenderer.h.


Constructor & Destructor Documentation

DebrisActionRenderer::DebrisActionRenderer (  ) 

Definition at line 28 of file DebrisActionRenderer.cpp.

References debris_, DIALOG_ASSERT, ModelRendererStore::instance(), RAND, rotationSpeed_, rotationX_, rotationY_, and rotationZ_.

DebrisActionRenderer::~DebrisActionRenderer (  )  [virtual]

Definition at line 55 of file DebrisActionRenderer.cpp.

References debris_.


Member Function Documentation

void DebrisActionRenderer::simulate ( float  time  ) 

Definition at line 61 of file DebrisActionRenderer.cpp.

References rotationAng_, and rotationSpeed_.

Referenced by ParticleRendererDebris::simulateParticle().

void DebrisActionRenderer::draw ( Vector position  ) 

Definition at line 66 of file DebrisActionRenderer.cpp.

References GLState::BLEND_OFF, debris_, ModelRendererSimulator::draw(), glColor3f(), glPopMatrix(), glPushMatrix(), glRotatef(), glTranslatef(), rotationAng_, rotationX_, rotationY_, rotationZ_, and GLState::TEXTURE_OFF.

Referenced by ParticleRendererDebris::renderParticle().


Member Data Documentation

ModelRendererSimulator* DebrisActionRenderer::debris_ [protected]

Definition at line 38 of file DebrisActionRenderer.h.

Referenced by DebrisActionRenderer(), draw(), and ~DebrisActionRenderer().

float DebrisActionRenderer::rotationAng_ [protected]

Definition at line 39 of file DebrisActionRenderer.h.

Referenced by draw(), and simulate().

float DebrisActionRenderer::rotationX_ [protected]

Definition at line 40 of file DebrisActionRenderer.h.

Referenced by DebrisActionRenderer(), and draw().

float DebrisActionRenderer::rotationY_ [protected]

Definition at line 40 of file DebrisActionRenderer.h.

Referenced by DebrisActionRenderer(), and draw().

float DebrisActionRenderer::rotationZ_ [protected]

Definition at line 40 of file DebrisActionRenderer.h.

Referenced by DebrisActionRenderer(), and draw().

float DebrisActionRenderer::rotationSpeed_ [protected]

Definition at line 41 of file DebrisActionRenderer.h.

Referenced by DebrisActionRenderer(), and 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