Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Panzerschrek/Chasm-Reverse
/ Toggle
Method
Toggle
PanzerChasm/console.cpp:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
void Console::Toggle()
36
{
37
current_speed_= current_speed_ > 0.0f ? -1.0f : 1.0f;
38
}
39
40
bool Console::IsActive() const
41
{
Callers
1
Loop
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected