Cyclone Cyclone: cyclone::ParticleForceGenerator Class Reference

cyclone::ParticleForceGenerator Class Reference

A force generator can be asked to add a force to one or more particles. More...

#include <pfgen.h>

Inheritance diagram for cyclone::ParticleForceGenerator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void updateForce (Particle *particle, real duration)=0
 Overload this in implementations of the interface to calculate and update the force applied to the given particle.

Detailed Description

A force generator can be asked to add a force to one or more particles.


Member Function Documentation

virtual void cyclone::ParticleForceGenerator::updateForce Particle particle,
real  duration
[pure virtual]
 

Overload this in implementations of the interface to calculate and update the force applied to the given particle.

Implemented in cyclone::Explosion, cyclone::ParticleGravity, cyclone::ParticleDrag, cyclone::ParticleAnchoredSpring, cyclone::ParticleAnchoredBungee, cyclone::ParticleFakeSpring, cyclone::ParticleSpring, cyclone::ParticleBungee, and cyclone::ParticleBuoyancy.


The documentation for this class was generated from the following file: