toxi.physics.behaviors
Interface ParticleBehavior

All Known Implementing Classes:
AttractionBehavior, ConstantForceBehavior, GravityBehavior

public interface ParticleBehavior


Method Summary
 void apply(VerletParticle p)
          Applies the constraint to the passed in particle.
 void configure(float timeStep)
           
 

Method Detail

apply

void apply(VerletParticle p)
Applies the constraint to the passed in particle. The method is assumed to manipulate the given instance directly.

Parameters:
p - particle

configure

void configure(float timeStep)