21 |
|
#include <stdio.h> |
22 |
|
#include <math.h> |
23 |
|
|
24 |
< |
#ifndef atof |
25 |
< |
extern double atof(); |
26 |
< |
#endif |
24 |
> |
#define PI 3.14159265358979323846 |
25 |
> |
#define DELTA 10. /* MINIMAL SUSTAINED ANGLE IN DEGREES */ |
26 |
|
|
28 |
– |
#define PI 3.141592653589793 |
29 |
– |
#define DELTA 5. /* MINIMAL SUSTAINED ANGLE IN DEGREES */ |
30 |
– |
|
27 |
|
double baseflat[4][3], baseblind[4][3][180]; |
28 |
|
double A[3],X[3]; |
29 |
|
char *material, *name; |
30 |
|
double height; |
31 |
|
int nslats, nsurf; |
32 |
+ |
|
33 |
+ |
#ifdef DCL_ATOF |
34 |
+ |
extern double atof(); |
35 |
+ |
#endif |
36 |
|
|
37 |
|
|
38 |
|
main(argc, argv) |