Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aethersdr/AetherSDR
/ clampWheelPointerDelta
Function
clampWheelPointerDelta
src/gui/FlexControlDialog.cpp:315–318 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
313
}
314
315
double clampWheelPointerDelta(double radians)
316
{
317
return std::clamp(radians, -kWheelMaxPointerDelta, kWheelMaxPointerDelta);
318
}
319
320
int consumeWholeWheelSteps(double& accumulator)
321
{
Callers
1
updateFromPoint
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected