mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Ref T709, improved normalization and space pressed handling, unit test
This commit is contained in:
committed by
Mat Sutcliffe
parent
9cb9556d87
commit
4830bbc646
@@ -196,9 +196,11 @@ namespace XSwiftBus
|
||||
static bool isZeroTo360(double v);
|
||||
//! @}
|
||||
|
||||
//! Normalize to (-180, 180] degress @{
|
||||
static float normalizeToPlusMinus180DegF(float v);
|
||||
//! Normalize to (-180, 180] or [0, 360) degrees @{
|
||||
static float normalizeToPlusMinus180DegF(float v);
|
||||
static double normalizeToPlusMinus180DegD(double v);
|
||||
static float normalizeToZero360DegF(float v);
|
||||
static double normalizeToZero360DegD(double v);
|
||||
//! @}
|
||||
|
||||
//! Check the position if values are valid @{
|
||||
|
||||
Reference in New Issue
Block a user