19 lines · 287 B · C
RawDownload
#include <u.h>#include <libc.h>#include "map.h" intXcylindrical(struct place *place, double *x, double *y){	if(fabs(place->nlat.l) > 80.*RAD)		return(-1);	*x = - place->wlon.l;	*y = place->nlat.s / place->nlat.c;	return(1);} projcylindrical(void){	return(Xcylindrical);}