|
|
1.1 root 1: #include "map.h"
2:
3:
4: Xlaue(place, x, y)
5: struct place *place;
6: float *x, *y;
7: {
8: float r;
9: if(place->nlat.l<PI/4+FUZZ)
10: return(-1);
11: r = tan(PI-2*place->nlat.l);
12: if(r>3)
13: return(-1);
14: *x = - r * place->wlon.s;
15: *y = - r * place->wlon.c;
16: return(1);
17: }
18:
19: int (*laue())()
20: {
21: return(Xlaue);
22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.