# | Line 21 | Line 21 | static const char RCSid[] = "$Id$"; | |
---|---|---|
21 | * points east, and the Y-axis points north. | |
22 | */ | |
23 | ||
24 | + | #define _USE_MATH_DEFINES |
25 | + | |
26 | #include <stdio.h> | |
27 | #include <string.h> | |
28 | #include <math.h> | |
# | Line 231 | Line 233 | int main(int argc, char** argv) | |
233 | break; | |
234 | ||
235 | case 'O': | |
236 | < | output = atof(argv[++i]); /*define the unit of the output of the program : |
236 | > | output = atoi(argv[++i]); /*define the unit of the output of the program : |
237 | sky and sun luminance/radiance (0==W visible, 1==W solar radiation, 2==lm) */ | |
238 | break; | |
239 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |