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

Function reset

Demos/FluidDemo/main.cpp:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void reset()
130{
131 Timing::printAverageTimes();
132 Timing::reset();
133
134 model.reset();
135 simulation.reset();
136 TimeManager::getCurrent()->setTime(0.0);
137}
138
139void mouseMove(int x, int y, void *clientData)
140{

Callers 1

initModelMethod · 0.70

Calls 2

setTimeMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected