tcuts.c - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       tcuts.c (844B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include "map.h"
            4 extern void abort(void);
            5 
            6 /* these routines duplicate names found in map.c.  they are
            7 called from routines in hex.c, guyou.c, and tetra.c, which
            8 are in turn invoked directly from map.c.  this bad organization
            9 arises from data hiding; only these three files know stuff
           10 that's necessary for the proper handling of the unusual cuts
           11 involved in these projections.
           12 
           13 the calling routines are not advertised as part of the library,
           14 and the library duplicates should never get loaded, however they
           15 are included to make the libary self-standing.*/
           16 
           17 int
           18 picut(struct place *g, struct place *og, double *cutlon)
           19 {
           20         g; og; cutlon;
           21         abort();
           22         return 0;
           23 }
           24 
           25 int
           26 ckcut(struct place *g1, struct place *g2, double lon)
           27 {
           28         g1; g2; lon;
           29         abort();
           30         return 0;
           31 }
           32 
           33 double
           34 reduce(double x)
           35 {
           36         x;
           37         abort();
           38         return 0;
           39 }