Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
112
Simulation* Simulation::getCurrent ()
113
{
114
if (current == nullptr)
115
{
116
current = new Simulation ();
117
}
118
return current;
119
}
120
121
void Simulation::setCurrent (Simulation* tm)
122
{
Callers
3
step
Function · 0.45
step
Function · 0.45
getSceneFile
Function · 0.45
Calls
no outgoing calls
Tested by
2
step
Function · 0.36
getSceneFile
Function · 0.36