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

Function reset

Demos/ClothDemo/main.cpp:78–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void reset()
79{
80 Utilities::Timing::printAverageTimes();
81 Utilities::Timing::reset();
82
83 Simulation::getCurrent()->reset();
84 base->getSelectedParticles().clear();
85
86 Simulation::getCurrent()->getModel()->cleanup();
87
88 buildModel();
89}
90
91
92void timeStep ()

Callers 1

mainFunction · 0.70

Calls 5

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

Tested by

no test coverage detected