Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
Simulation* Simulation::getCurrent ()
31
{
32
if (current == nullptr)
33
{
34
current = new Simulation ();
35
current->init();
36
}
37
return current;
38
}
39
40
void Simulation::setCurrent (Simulation* tm)
41
{
Callers
15
buildModel
Function · 0.45
createMesh
Function · 0.45
render
Function · 0.45
timeStep
Function · 0.45
reset
Function · 0.45
buildModel
Function · 0.45
createMesh
Function · 0.45
render
Function · 0.45
timeStep
Function · 0.45
reset
Function · 0.45
buildModel
Function · 0.45
createMesh
Function · 0.45
Calls
1
init
Method · 0.45
Tested by
no test coverage detected