public class ModifiedEulerIntegrator extends Integrator
Integrator.METHOD
s
Constructor and Description |
---|
ModifiedEulerIntegrator(ParticleSystem s)
Sets up the integrator.
|
Modifier and Type | Method and Description |
---|---|
ModifiedEulerIntegrator |
step(float deltaT)
Advances the integrator by one step.
|
public ModifiedEulerIntegrator(ParticleSystem s)
s
- Particle system upon which to perform the integration.public ModifiedEulerIntegrator step(float deltaT)
step
in class Integrator
deltaT
- the magnitude of the time step to advance.