| # | Line 21 | Line 21 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 21 | #include <stdio.h> | |
| 22 | #include <math.h> | |
| 23 | ||
| 24 | – | #ifndef atof |
| 25 | – | extern double atof(); |
| 26 | – | #endif |
| 27 | – | |
| 24 | #define PI 3.141592653589793 | |
| 25 | #define DELTA 5. /* MINIMAL SUSTAINED ANGLE IN DEGREES */ | |
| 26 | ||
| # | Line 39 | Line 35 | main(argc, argv) | |
| 35 | int argc; | |
| 36 | char *argv[]; | |
| 37 | { | |
| 42 | – | double fabs(); |
| 38 | double width, delem, depth, rcurv = 0.0, angle; | |
| 39 | double beta, gamma, theta, chi; | |
| 40 | int i, j, k, l; | |
| # | Line 156 | Line 151 | userr: | |
| 151 | makeflat(w,d,a) | |
| 152 | double w, d, a; | |
| 153 | { | |
| 159 | – | double sin(), cos(); |
| 154 | double h; | |
| 155 | ||
| 156 | h = d*sin(a); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |