mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Ref T709, normalize degrees to +/i180degs
This commit is contained in:
committed by
Mat Sutcliffe
parent
5e9be9e96e
commit
6be0586fbc
@@ -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