MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / normalizeWheelAngle

Function normalizeWheelAngle

src/gui/FlexControlDialog.cpp:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306double normalizeWheelAngle(double radians)
307{
308 while (radians > kWheelPi)
309 radians -= 2.0 * kWheelPi;
310 while (radians < -kWheelPi)
311 radians += 2.0 * kWheelPi;
312 return radians;
313}
314
315double clampWheelPointerDelta(double radians)
316{

Callers 2

updateFromPointMethod · 0.85
applyRotationDeltaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected