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

Method reset

Simulation/Simulation.cpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void Simulation::reset()
69{
70 m_model->reset();
71 if (m_timeStep)
72 m_timeStep->reset();
73
74 TimeManager::getCurrent()->setTime(static_cast<Real>(0.0));
75}
76

Callers

nothing calls this directly

Calls 1

setTimeMethod · 0.80

Tested by

no test coverage detected