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

Function reset

Demos/BarDemo/main.cpp:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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