MCPcopy 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
315double clampWheelPointerDelta(double radians)
316{
317 return std::clamp(radians, -kWheelMaxPointerDelta, kWheelMaxPointerDelta);
318}
319
320int consumeWholeWheelSteps(double& accumulator)
321{

Callers 1

updateFromPointMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected