| # | Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 12 | */ | |
| 13 | ||
| 14 | #include <stdio.h> | |
| 15 | + | #include <math.h> |
| 16 | ||
| 16 | – | |
| 17 | char *mtype; /* material type */ | |
| 18 | ||
| 19 | char *name; /* name */ | |
| 20 | ||
| 21 | + | #ifdef DCL_ATOF |
| 22 | + | extern double atof(); |
| 23 | + | #endif |
| 24 | ||
| 25 | + | |
| 26 | main(argc, argv) | |
| 27 | int argc; | |
| 28 | char **argv; | |
| 29 | { | |
| 26 | – | double atof(); |
| 30 | double p0[3], p1[3], r0[3], r1[3]; | |
| 31 | double rad, inc; | |
| 32 | ||
| # | Line 65 | Line 68 | double r1[3]; | |
| 68 | double rad; | |
| 69 | double inc; | |
| 70 | { | |
| 68 | – | double sqrt(); |
| 71 | register int i; | |
| 72 | double v[3]; | |
| 73 | double t; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |