Fix Point

This commit is contained in:
Didier Le Botlan 2023-03-07 11:30:34 +01:00
parent ce5c34cb06
commit 77ed944b3c

View File

@ -31,9 +31,7 @@ public final class Point {
if (koef >= 1.0) { koef = 1.0 ; }
if (koef <= -1.0) { koef = -1.0 ; }
res = EARTH_RADIUS * Math.acos(koef) ;
return res
return (EARTH_RADIUS * Math.acos(koef)) ;
}
// Longitude and latitude of the point.