| # | Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL"; | |
|---|---|---|
| 10 | * 8/28/85 | |
| 11 | */ | |
| 12 | ||
| 13 | + | #include "fvect.h" |
| 14 | + | |
| 15 | #include "plocate.h" | |
| 16 | ||
| 17 | ||
| 18 | clip(ep1, ep2, min, max) /* clip a line segment to a box */ | |
| 19 | < | double *ep1, *ep2; |
| 20 | < | double min[3], max[3]; |
| 19 | > | FLOAT *ep1, *ep2; |
| 20 | > | FVECT min, max; |
| 21 | { | |
| 22 | int loc1, loc2; | |
| 23 | int accept; | |
| 24 | < | double *dp; |
| 24 | > | FLOAT *dp; |
| 25 | double d; | |
| 26 | register int i, j; | |
| 27 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |