URI:
       tsinusoidal.c - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tsinusoidal.c (235B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include "map.h"
            4 
            5 int
            6 Xsinusoidal(struct place *place, double *x, double *y)
            7 {
            8         *x = - place->wlon.l * place->nlat.c;
            9         *y = place->nlat.l;
           10         return(1);
           11 }
           12 
           13 proj
           14 sinusoidal(void)
           15 {
           16         return(Xsinusoidal);
           17 }