#include <DebrisActionRenderer.h>

Public Member Functions | |
| DebrisActionRenderer () | |
| virtual | ~DebrisActionRenderer () |
| void | simulate (float time) |
| void | draw (Vector &position) |
Protected Attributes | |
| ModelRendererSimulator * | debris_ |
| float | rotationAng_ |
| float | rotationX_ |
| float | rotationY_ |
| float | rotationZ_ |
| float | rotationSpeed_ |
Definition at line 28 of file DebrisActionRenderer.h.
| 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] |
| 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().
ModelRendererSimulator* DebrisActionRenderer::debris_ [protected] |
Definition at line 38 of file DebrisActionRenderer.h.
Referenced by DebrisActionRenderer(), draw(), and ~DebrisActionRenderer().
float DebrisActionRenderer::rotationAng_ [protected] |
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().
1.5.3