# | Line 19 | Line 19 | static char SCCSid[] = "$SunId$ LBL"; | |
---|---|---|
19 | ||
20 | #include "color.h" | |
21 | ||
22 | – | #ifndef atof |
23 | – | extern double atof(); |
24 | – | #endif |
22 | extern char *strcpy(), *strcat(), *malloc(); | |
23 | extern double stadj(), sdec(), sazi(), salt(); | |
24 | ||
# | Line 150 | Line 147 | computesky() /* compute sky parameters */ | |
147 | st = hour + stadj(jd); | |
148 | altitude = salt(sd, st); | |
149 | azimuth = sazi(sd, st); | |
150 | + | printf("# Solar altitude and azimuth: %f %f\n", |
151 | + | 180./PI*altitude, 180./PI*azimuth); |
152 | } | |
153 | if (!cloudy && altitude > 87.*PI/180.) { | |
154 | fprintf(stderr, |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |