MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / reset

Function reset

pyPBD/examples/chain_model.py:106–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105# Reset the simulation
106def reset():
107 pbd.Simulation.getCurrent().reset()
108 pbd.Simulation.getCurrent().getModel().cleanup()
109 buildModel()
110
111def main():
112 # Activate logger to output info on the console

Callers 1

mainFunction · 0.70

Calls 5

getModelMethod · 0.80
buildModelFunction · 0.70
resetMethod · 0.45
getCurrentMethod · 0.45
cleanupMethod · 0.45

Tested by

no test coverage detected