org.jocl.cloth
Interface TimeStepListener


interface TimeStepListener

Interface for all classes that want to be informed about time steps of a simulator


Method Summary
 void afterTimeStep(float totalTime, float timeStepSize)
          Called after a time step
 void beforeTimeStep(float totalTime, float timeStepSize)
          Called after a time step
 

Method Detail

beforeTimeStep

void beforeTimeStep(float totalTime,
                    float timeStepSize)
Called after a time step

Parameters:
totalTime - The current simulation time
timeStepSize - The size of the time step

afterTimeStep

void afterTimeStep(float totalTime,
                   float timeStepSize)
Called after a time step

Parameters:
totalTime - The current simulation time
timeStepSize - The size of the time step