#include <SkyParticles.h>
Public Member Functions | |
| SkyParticles () | |
| Initialise, placing the particles in a random place. | |
| void | update (unsigned milliseconds_elapsed) |
| Simulate the particles over the given time period. | |
| void | draw (const Engine::CarCamera &camera) |
| Draw the particles around the given camera. | |
Private Attributes | |
| btVector3 | particles [m_num_particles] |
| The positions of the particles in the origin cube. | |
| Track::Texture * | m_texture |
| The texture the particles are drawn with. | |
| float | phase |
| The phase of the spiral effect. | |
Static Private Attributes | |
| static const int | m_num_particles = 1024 |
Definition at line 23 of file SkyParticles.h.
| Graphics::SkyParticles::SkyParticles | ( | ) |
Initialise, placing the particles in a random place.
Definition at line 28 of file SkyParticles.cpp.
| void Graphics::SkyParticles::draw | ( | const Engine::CarCamera & | camera | ) |
| void Graphics::SkyParticles::update | ( | unsigned | milliseconds_elapsed | ) |
Simulate the particles over the given time period.
| milliseconds_elapsed | The number of milliseconds to simulate. Should be less than 16000. |
const int Graphics::SkyParticles::m_num_particles = 1024 [static, private] |
Definition at line 36 of file SkyParticles.h.
Track::Texture* Graphics::SkyParticles::m_texture [private] |
btVector3 Graphics::SkyParticles::particles[m_num_particles] [private] |
float Graphics::SkyParticles::phase [private] |
Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.