Ref T429, functions for angle, heading and situation

* normalize angle -180/+180 when set on situation
* clamp vector function
This commit is contained in:
Klaus Basan
2018-11-09 02:26:07 +01:00
parent 985c06816b
commit 7807a05f2a
8 changed files with 89 additions and 33 deletions

View File

@@ -299,6 +299,9 @@ namespace BlackMisc
//! Set normal vector
void setNormalVector(const std::array<double, 3> &normalVector);
//! Clamp vector values if out [-1, 1]
int clampVector();
//! Set to null
void setNull()
{