diff --git a/include/Polar.h b/include/Polar.h index 2719e06..072d9e8 100644 --- a/include/Polar.h +++ b/include/Polar.h @@ -8,7 +8,8 @@ /// /// A polar vector /// -/// This will use the polar coordinate system consisting of a angle from a reference direction and a distance. +/// This will use the polar coordinate system consisting of a angle from a +/// reference direction and a distance. struct Polar { public: /// @@ -20,7 +21,7 @@ struct Polar { /// The distance in meters /// /// The distance should never be negative - unsigned float distance; + float distance; /// /// Create a new polar vector with zero degrees and distance @@ -43,7 +44,7 @@ struct Polar { /// /// This will rotate the vector by 180 degrees. Distance will stay the same. /// The negated vector - + Polar operator-(); /// /// Substract a polar vector from this coordinate @@ -64,7 +65,8 @@ struct Polar { /// /// The scaling factor /// The scaled vector - /// This operation will scale the distance of the vector. The angle will be unaffected. + /// This operation will scale the distance of the vector. The angle will be + /// unaffected. Polar operator*(float factor) const; /// @@ -72,7 +74,8 @@ struct Polar { /// /// The scaling factor /// The scaled vector - /// This operation will scale the distance of the vector. The angle will be unaffected. + /// This operation will scale the distance of the vector. The angle will be + /// unaffected. Polar operator/(const float& factor); ///