ParticleRendererPoints Class Reference

#include <ParticleRenderer.h>

Inheritance diagram for ParticleRendererPoints:

ParticleRenderer

List of all members.

Public Member Functions

virtual void renderParticle (Particle &particle)
virtual void simulateParticle (Particle &particle, float time)

Static Public Member Functions

static
ParticleRendererPoints
getInstance ()


Detailed Description

Definition at line 33 of file ParticleRenderer.h.


Member Function Documentation

ParticleRendererPoints * ParticleRendererPoints::getInstance (  )  [static]

Definition at line 40 of file ParticleRenderer.cpp.

void ParticleRendererPoints::renderParticle ( Particle particle  )  [virtual]

Implements ParticleRenderer.

Definition at line 50 of file ParticleRenderer.cpp.

References Particle::alpha_, Particle::color_, GL_POINTS, glBegin(), glColor4f(), glEnd(), glPointSize(), glVertex3fv(), Particle::position_, and GLState::TEXTURE_OFF.

void ParticleRendererPoints::simulateParticle ( Particle particle,
float  time 
) [virtual]

Implements ParticleRenderer.

Definition at line 46 of file ParticleRenderer.cpp.


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