Sign in
plan9port
/
plan9
/
32c6e78c6c4c13b63d8dc30aa395cfcc6e686c0a
/
.
/
src
/
cmd
/
map
/
libmap
/
sinusoidal.c
blob: 6a79706ea57da327ca471309b6204e7d3294f0c0 [
file
] [
log
] [
blame
]
#include
<u.h>
#include
<libc.h>
#include
"map.h"
int
Xsinusoidal
(
struct
place
*
place
,
double
*
x
,
double
*
y
)
{
*
x
=
-
place
->
wlon
.
l
*
place
->
nlat
.
c
;
*
y
=
place
->
nlat
.
l
;
return
(
1
);
}
proj
sinusoidal
(
void
)
{
return
(
Xsinusoidal
);
}