Cyclone Cyclone: cyclone::ParticleAnchoredBungee Class Reference

cyclone::ParticleAnchoredBungee Class Reference

A force generator that applies a bungee force, where one end is attached to a fixed point in space. More...

#include <pfgen.h>

Inheritance diagram for cyclone::ParticleAnchoredBungee:

Inheritance graph
[legend]
Collaboration diagram for cyclone::ParticleAnchoredBungee:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void updateForce (Particle *particle, real duration)
 Applies the spring force to the given particle.

Detailed Description

A force generator that applies a bungee force, where one end is attached to a fixed point in space.


Member Function Documentation

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

Applies the spring force to the given particle.

Reimplemented from cyclone::ParticleAnchoredSpring.


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