| 21 |
|
#include <string.h> |
| 22 |
|
|
| 23 |
|
#define PI 3.14159265358979323846 |
| 24 |
< |
#define DELTA 10. /* MINIMAL SUSTAINED ANGLE IN DEGREES */ |
| 24 |
> |
#define DELTA 3. /* MINIMAL SUSTAINED ANGLE IN DEGREES */ |
| 25 |
|
|
| 26 |
|
double baseflat[4][3], baseblind[4][3][180]; |
| 27 |
|
double A[3],X[3]; |
| 116 |
|
height = atof(argv[5]); |
| 117 |
|
nslats = atoi(argv[6]); |
| 118 |
|
angle = atof(argv[7]); |
| 119 |
< |
if (argc == 10) |
| 119 |
> |
if (argc == 10) { |
| 120 |
|
if (!strcmp(argv[8], "-r")) |
| 121 |
|
rcurv = atof(argv[9]); |
| 122 |
|
else if (!strcmp(argv[8], "+r")) |
| 123 |
|
rcurv = -atof(argv[9]); |
| 124 |
|
else |
| 125 |
|
goto userr; |
| 126 |
< |
|
| 126 |
> |
} |
| 127 |
|
/* CURVED BLIND CALCULATION */ |
| 128 |
|
|
| 129 |
|
if (rcurv != 0.) { |