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

Comparing ray/src/hd/clumpbeams.c (file contents):
Revision 3.8 by schorsch, Thu Jan 1 11:21:55 2004 UTC vs.
Revision 3.9 by greg, Fri Oct 5 19:19:16 2018 UTC

# Line 25 | Line 25 | static int firstneigh(HOLO     *hp, int        b);
25  
26   static void
27   gcshifti(       /* shift cell row or column */
28 <        register GCOORD *gc,
28 >        GCOORD  *gc,
29          int     ia,
30          int     di,
31 <        register HOLO   *hp
31 >        HOLO    *hp
32   )
33   {
34          int     nw;
# Line 59 | Line 59 | mkneighgrid(           /* compute neighborhood for grid cell */
59   )
60   {
61          GCOORD  gci0;
62 <        register int    i, j;
62 >        int     i, j;
63  
64          for (i = 3; i--; ) {
65                  gci0 = *gc;
# Line 103 | Line 103 | firstneigh(            /* initialize neighbor list and return fi
103   }
104  
105  
106 < extern void
106 > void
107   clumpbeams(     /* clump beams from hinp */
108 <        register HOLO   *hp,
108 >        HOLO    *hp,
109          int     maxcnt,
110          int     maxsiz,
111          int     (*cf)(HOLO *hp, int *bqueue, int bqlen)
# Line 117 | Line 117 | clumpbeams(    /* clump beams from hinp */
117          int     bqlen;
118          int32   bqtotal;
119          int     bc, bci, bqc, myprime;
120 <        register int    i;
120 >        int     i;
121                                          /* get clump size */
122          if (maxcnt <= 1)
123                  maxcnt = nbeams(hp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines