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

Method getCurrent

SPlisHSPlasH/Simulation.cpp:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112Simulation* Simulation::getCurrent ()
113{
114 if (current == nullptr)
115 {
116 current = new Simulation ();
117 }
118 return current;
119}
120
121void Simulation::setCurrent (Simulation* tm)
122{

Callers 3

stepFunction · 0.45
stepFunction · 0.45
getSceneFileFunction · 0.45

Calls

no outgoing calls

Tested by 2

stepFunction · 0.36
getSceneFileFunction · 0.36