changed return val from course to int16

This commit is contained in:
2022-12-28 10:21:52 +01:00
parent 9d5cc92a80
commit 4495ffe293
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -79,8 +79,8 @@ class Point{
double distanceTo(const Coordinates& point) const;
double distanceTo(const Point& point) const;
double courseTo(const Coordinates& point) const;
double courseTo(const Point& point) const;
int16_t courseTo(const Coordinates& point) const;
int16_t courseTo(const Point& point) const;
double getLongitude() const { return this->coordinates.lon; }
double getLatitude() const { return this->coordinates.lat; }