88 |
|
#include "rtmath.h" |
89 |
|
#include "platform.h" |
90 |
|
#include "color.h" |
91 |
+ |
#include "resolu.h" |
92 |
|
|
93 |
|
char *progname; /* Program name */ |
94 |
|
char errmsg[128]; /* Error message buffer */ |
393 |
|
break; |
394 |
|
case '5': /* 5-phase calculation */ |
395 |
|
nsuns = 1; |
396 |
< |
fixed_sun_sa = 6.797e-05; |
396 |
> |
fixed_sun_sa = PI/360.*atof(argv[++i]); |
397 |
> |
fixed_sun_sa *= fixed_sun_sa*PI; |
398 |
|
break; |
399 |
|
default: |
400 |
|
goto userr; |
521 |
|
printf("NROWS=%d\n", nskypatch); |
522 |
|
printf("NCOLS=%d\n", ntsteps); |
523 |
|
printf("NCOMP=3\n"); |
524 |
< |
fputformat(getfmtname(outfmt), stdout); |
524 |
> |
fputformat((char *)getfmtname(outfmt), stdout); |
525 |
|
putchar('\n'); |
526 |
|
} |
527 |
|
/* patches are rows (outer sort) */ |