Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InteractiveComputerGraphics/PositionBasedDynamics
/ reset
Function
reset
Demos/FluidDemo/main.cpp:129–137 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
127
}
128
129
void reset()
130
{
131
Timing::printAverageTimes();
132
Timing::reset();
133
134
model.reset();
135
simulation.reset();
136
TimeManager::getCurrent()->setTime(0.0);
137
}
138
139
void mouseMove(int x, int y, void *clientData)
140
{
Callers
1
initModel
Method · 0.70
Calls
2
setTime
Method · 0.80
reset
Method · 0.45
Tested by
no test coverage detected