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

Method getCurrent

Simulation/Simulation.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30Simulation* Simulation::getCurrent ()
31{
32 if (current == nullptr)
33 {
34 current = new Simulation ();
35 current->init();
36 }
37 return current;
38}
39
40void Simulation::setCurrent (Simulation* tm)
41{

Callers 15

buildModelFunction · 0.45
createMeshFunction · 0.45
renderFunction · 0.45
timeStepFunction · 0.45
resetFunction · 0.45
buildModelFunction · 0.45
createMeshFunction · 0.45
renderFunction · 0.45
timeStepFunction · 0.45
resetFunction · 0.45
buildModelFunction · 0.45
createMeshFunction · 0.45

Calls 1

initMethod · 0.45

Tested by

no test coverage detected