Cyclone | Cyclone: cyclone::ParticleSpring Class Reference |
#include <pfgen.h>
Inheritance diagram for cyclone::ParticleSpring:
Public Member Functions | |
ParticleSpring (Particle *other, real springConstant, real restLength) | |
Creates a new spring with the given parameters. | |
virtual void | updateForce (Particle *particle, real duration) |
Applies the spring force to the given particle. |
|
Creates a new spring with the given parameters.
|
|
Applies the spring 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:27 2006). |