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

Function reset

pyPBD/examples/beam_model.py:84–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 tetModel.updateMeshNormals(model.getParticles())
83
84def reset():
85 pbd.Simulation.getCurrent().reset()
86 pbd.Simulation.getCurrent().getModel().cleanup()
87 buildModel()
88
89def main():
90 pbd.Logger.addConsoleSink(pbd.LogLevel.INFO)

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