sforkowany z mirror/meshtastic-firmware
Update GeoCoord.cpp (#1540)
Adding clarification to comments on GeoCoord::bearing function. Co-authored-by: Ben Meadors <benmmeadors@gmail.com>raytac-diy
rodzic
f26441727c
commit
f8ee1ac4f9
|
@ -379,7 +379,7 @@ float GeoCoord::latLongToMeter(double lat_a, double lng_a, double lat_b, double
|
||||||
* Latitude of the second point
|
* Latitude of the second point
|
||||||
* @param lon2
|
* @param lon2
|
||||||
* Longitude of the second point
|
* Longitude of the second point
|
||||||
* @return Bearing between the two points in radians. A value of 0 means due
|
* @return Bearing from point 1 to point 2 in radians. A value of 0 means due
|
||||||
* north.
|
* north.
|
||||||
*/
|
*/
|
||||||
float GeoCoord::bearing(double lat1, double lon1, double lat2, double lon2)
|
float GeoCoord::bearing(double lat1, double lon1, double lat2, double lon2)
|
||||||
|
|
Ładowanie…
Reference in New Issue