xref: /plan9-contrib/sys/src/cmd/map/libmap/cuts.c (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
1 #include "map.h"
2 extern void abort(void);
3 
4 /* these routines duplicate names found in map.c.  they are
5 called from routines in hex.c, guyou.c, and tetra.c, which
6 are in turn invoked directly from map.c.  this bad organization
7 arises from data hiding; only these three files know stuff
8 that's necessary for the proper handling of the unusual cuts
9 involved in these projections.
10 
11 the calling routines are not advertised as part of the library,
12 and the library duplicates should never get loaded, however they
13 are included to make the libary self-standing.*/
14 
15 int
16 picut(struct place *g, struct place *og, double *cutlon)
17 {
18 	g; og; cutlon;
19 	abort();
20 	return 0;
21 }
22 
23 int
24 ckcut(struct place *g1, struct place *g2, double lon)
25 {
26 	g1; g2; lon;
27 	abort();
28 	return 0;
29 }
30 
31 double
32 reduce(double x)
33 {
34 	x;
35 	abort();
36 	return 0;
37 }
38