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

Method init

Simulation/Simulation.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void Simulation::init()
51{
52 initParameters();
53
54 m_timeStep = new TimeStepController();
55 m_timeStep->init();
56 TimeManager::getCurrent()->setTimeStepSize(static_cast<Real>(0.005));
57}
58
59void Simulation::initParameters()
60{

Callers 1

getCurrentMethod · 0.45

Calls 1

setTimeStepSizeMethod · 0.80

Tested by

no test coverage detected