Annotation of researchv8dc/cmd/map/libmap/aitoff.c, revision 1.1.1.1

1.1       root        1: #include "map.h"
                      2: 
                      3: #define Xaitwist Xaitpole.nlat
                      4: struct place Xaitpole;
                      5: 
                      6: Xaitoff(place, x, y)
                      7: struct place *place;
                      8: float *x, *y;
                      9: {
                     10:        struct place p;
                     11:        copyplace(place,&p);
                     12:        p.wlon.l /= 2.;
                     13:        sincos(&p.wlon);
                     14:        norm(&p,&Xaitpole,&Xaitwist);
                     15:        Xazequalarea(&p,x,y);
                     16:        *x *= 2.;
                     17:        return(1);
                     18: }
                     19: 
                     20: int (*aitoff())()
                     21: {
                     22:        latlon(0.,0.,&Xaitpole);
                     23:        return(Xaitoff);
                     24: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.