Cyclone | Cyclone: cyclone::ParticleGravity Class Reference |
#include <pfgen.h>
Inheritance diagram for cyclone::ParticleGravity:
Public Member Functions | |
ParticleGravity (const Vector3 &gravity) | |
Creates the generator with the given acceleration. | |
virtual void | updateForce (Particle *particle, real duration) |
Applies the gravitational force to the given particle. |
One instance can be used for multiple particles.
|
Creates the generator with the given acceleration.
|
|
Applies the gravitational force to the given particle.
Implements cyclone::ParticleForceGenerator. |
© 2000-2003 Icosagon. All Rights Reserved.
Distributed under licence.
Cyclone Version 2.0.5 (Documentation generated Fri Nov 10 20:44:24 2006). |