mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
Ref T429, functions for angle, heading and situation
* normalize angle -180/+180 when set on situation * clamp vector function
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user