cuts.c 844 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #include <u.h>
  2. #include <libc.h>
  3. #include "map.h"
  4. extern void abort(void);
  5. /* these routines duplicate names found in map.c. they are
  6. called from routines in hex.c, guyou.c, and tetra.c, which
  7. are in turn invoked directly from map.c. this bad organization
  8. arises from data hiding; only these three files know stuff
  9. that's necessary for the proper handling of the unusual cuts
  10. involved in these projections.
  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. int
  15. picut(struct place *g, struct place *og, double *cutlon)
  16. {
  17. g; og; cutlon;
  18. abort();
  19. return 0;
  20. }
  21. int
  22. ckcut(struct place *g1, struct place *g2, double lon)
  23. {
  24. g1; g2; lon;
  25. abort();
  26. return 0;
  27. }
  28. double
  29. reduce(double x)
  30. {
  31. x;
  32. abort();
  33. return 0;
  34. }