mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 17:30:12 +08:00
Ref T709, normalize degrees to +/i180degs
This commit is contained in:
committed by
Mat Sutcliffe
parent
2df218ff99
commit
be261a2dd4
@@ -193,6 +193,11 @@ namespace XSwiftBus
|
||||
static bool isPlusMinus180(double v);
|
||||
//! @}
|
||||
|
||||
//! Normalize to (-180, 180] degress @{
|
||||
static float normalizeToPlusMinus180DegF(float v);
|
||||
static double normalizeToPlusMinus180DegD(double v);
|
||||
//! @}
|
||||
|
||||
//! Check the position if values are valid @{
|
||||
static bool isValidPosition(const XPMPPlanePosition_t &position);
|
||||
static bool isValidPosition(const XPLMCameraPosition_t *camPos);
|
||||
|
||||
Reference in New Issue
Block a user