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

Function reset

pyPBD/examples/cloth_model.py:117–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115
116# Reset the simulation
117def reset():
118 pbd.Simulation.getCurrent().reset()
119 pbd.Simulation.getCurrent().getModel().cleanup()
120 buildModel()
121
122def main():
123 # 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