org.jocl.cloth
Interface Simulation

All Known Implementing Classes:
ClothSimulationCoreJava, ClothSimulationCoreJOCL, ClothSimulationJava, ClothSimulationJOCL

interface Simulation

Interface for a simulation that may be driven by a Simulator


Method Summary
 void performTimeStep(float timeStep)
          Perform a simulation step with the given size
 void prepareRendering()
          Perform any steps necessary to render the current simulation state
 void shutdown()
          Shut down the simulation and free all allocated resources
 

Method Detail

performTimeStep

void performTimeStep(float timeStep)
Perform a simulation step with the given size

Parameters:
timeStep - The step size

prepareRendering

void prepareRendering()
Perform any steps necessary to render the current simulation state


shutdown

void shutdown()
Shut down the simulation and free all allocated resources