ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/clip.c
(Generate patch)

Comparing ray/src/common/clip.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:33:01 1989 UTC vs.
Revision 1.2 by greg, Wed Oct 23 13:43:31 1991 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines