added stuff

This commit is contained in:
toni
2016-04-13 11:10:09 +02:00
parent efc7fa9c12
commit c0ab98005a
3 changed files with 16 additions and 3 deletions

View File

@@ -46,6 +46,11 @@ public:
return (Heading(*this) += _rad);
}
Heading& operator = (const float _rad) {
rad = _rad;
return *this;
}
/** compare two headings */
bool operator == (const Heading other) const {return rad == other.rad;}
bool operator != (const Heading other) const {return rad != other.rad;}