aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_mill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_mill.c')
-rw-r--r--src/PJ_mill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PJ_mill.c b/src/PJ_mill.c
index 03c35598..c4cee7f5 100644
--- a/src/PJ_mill.c
+++ b/src/PJ_mill.c
@@ -2,11 +2,13 @@
# include <projects.h>
PROJ_HEAD(mill, "Miller Cylindrical") "\n\tCyl, Sph";
FORWARD(s_forward); /* spheroid */
+ (void) P;
xy.x = lp.lam;
xy.y = log(tan(FORTPI + lp.phi * .4)) * 1.25;
return (xy);
}
INVERSE(s_inverse); /* spheroid */
+ (void) P;
lp.lam = xy.x;
lp.phi = 2.5 * (atan(exp(.8 * xy.y)) - FORTPI);
return (lp);