From fd1f2b36e95c03625297b7b8cba3b1a04a0cc0ed Mon Sep 17 00:00:00 2001 From: mzuenni Date: Tue, 10 Jan 2023 11:40:09 +0100 Subject: change whitespaces --- geometry/spheres.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'geometry/spheres.cpp') 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. -- cgit v1.2.3