added stuff
This commit is contained in:
@@ -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;}
|
||||
|
||||
Reference in New Issue
Block a user