diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2023-01-10 11:40:09 +0100 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2023-01-10 11:40:09 +0100 |
| commit | fd1f2b36e95c03625297b7b8cba3b1a04a0cc0ed (patch) | |
| tree | b143619750b90fbfa45a98be9ea56904d1a7129d /geometry/spheres.cpp | |
| parent | 8faa84ca282d51e9ce4fef535e68325adabcebad (diff) | |
change whitespaces
Diffstat (limited to 'geometry/spheres.cpp')
| -rw-r--r-- | geometry/spheres.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/geometry/spheres.cpp b/geometry/spheres.cpp index 0657ab8..01c54de 100644 --- a/geometry/spheres.cpp +++ b/geometry/spheres.cpp @@ -4,10 +4,10 @@ double gcDist(double pLat, double pLon, pLat *= PI / 180; pLon *= PI / 180; qLat *= PI / 180; qLon *= PI / 180; return radius * acos(cos(pLat) * cos(pLon) * - cos(qLat) * cos(qLon) + - cos(pLat) * sin(pLon) * - cos(qLat) * sin(qLon) + - sin(pLat) * sin(qLat)); + cos(qLat) * cos(qLon) + + cos(pLat) * sin(pLon) * + cos(qLat) * sin(qLon) + + sin(pLat) * sin(qLat)); } // Great Cirlce Distance mit kartesischen Koordinaten. |
