summaryrefslogtreecommitdiff
path: root/src/export/convert_coords.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/export/convert_coords.c')
-rw-r--r--src/export/convert_coords.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/export/convert_coords.c b/src/export/convert_coords.c
index abbbc22..64d7cbe 100644
--- a/src/export/convert_coords.c
+++ b/src/export/convert_coords.c
@@ -31,8 +31,10 @@ int main( )
31 31
32 double lon = l0+th/n; 32 double lon = l0+th/n;
33 double lat = 2.0*atan(pow(F/r,1.0/n))-0.5*M_PI; 33 double lat = 2.0*atan(pow(F/r,1.0/n))-0.5*M_PI;
34 34 if (x > 0 && y > 0)
35 printf("%lf\t%lf\n", lat*180.0/M_PI, lon*180.0/M_PI); 35 printf("%lf\t%lf\n", lat*180.0/M_PI, lon*180.0/M_PI);
36 else
37 printf("\t\n");
36 } else 38 } else
37 printf("\t\n"); 39 printf("\t\n");
38 } 40 }