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

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

# Line 33 | Line 33 | add2blist(                     /* add to beam sample list */
33          int     nr
34   )
35   {
36 <        register int    i;
36 >        int     i;
37  
38          for (i = blist.nb; i--; )
39                  if (blist.bl[i].bi == bi && blist.bl[i].hd == hd) {
# Line 51 | Line 51 | add2blist(                     /* add to beam sample list */
51   }
52  
53  
54 < extern int16 *
54 > int16 *
55   viewbeams(              /* convert view into sections/beams */
56          VIEW    *vp,
57          int     hr,
# Line 66 | Line 66 | viewbeams(             /* convert view into sections/beams */
66          FVECT   rorg, rdir;
67          int     shr, svr, sampquant;
68          int     v;
69 <        register int    h, hd;
69 >        int     h, hd;
70                                                  /* clear section flags */
71          memset((char *)sectlist, '\0', sizeof(sectlist));
72                                                  /* identify view sections */
# Line 150 | Line 150 | loopexit:
150   }
151  
152  
153 < extern int
153 > int
154   nextview(                       /* get next view from fp */
155          VIEW    *vp,
156          FILE    *fp

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines