# | Line 86 | Line 86 | static const char RCSid[] = "$Id$"; | |
---|---|---|
86 | #include <string.h> | |
87 | #include <ctype.h> | |
88 | #include "rtmath.h" | |
89 | + | #include "resolu.h" |
90 | #include "platform.h" | |
91 | #include "color.h" | |
92 | #include "resolu.h" | |
# | Line 393 | Line 394 | main(int argc, char *argv[]) | |
394 | break; | |
395 | case '5': /* 5-phase calculation */ | |
396 | nsuns = 1; | |
397 | < | fixed_sun_sa = 6.797e-05; |
397 | > | fixed_sun_sa = PI/360.*atof(argv[++i]); |
398 | > | fixed_sun_sa *= fixed_sun_sa*PI; |
399 | break; | |
400 | default: | |
401 | goto userr; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |