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.6 by schorsch, Mon Jul 21 22:30:18 2003 UTC vs.
Revision 3.7 by schorsch, Thu Jan 1 11:21:55 2004 UTC

# Line 26 | Line 26 | static const char      RCSid[] = "$Id$";
26   static BEAMLIST blist;
27  
28  
29 < static
30 < add2blist(hd, bi, nr)                   /* add to beam sample list */
31 < int     hd, bi, nr;
29 > static void
30 > add2blist(                      /* add to beam sample list */
31 >        int     hd,
32 >        int     bi,
33 >        int     nr
34 > )
35   {
36          register int    i;
37  
# Line 48 | Line 51 | int    hd, bi, nr;
51   }
52  
53  
54 < int16 *
55 < viewbeams(vp, hr, vr, blp)              /* convert view into sections/beams */
56 < VIEW    *vp;
57 < int     hr, vr;
58 < BEAMLIST        *blp;
54 > extern int16 *
55 > viewbeams(              /* convert view into sections/beams */
56 >        VIEW    *vp,
57 >        int     hr,
58 >        int     vr,
59 >        BEAMLIST        *blp
60 > )
61   {
62          static int16    sectlist[HDMAX+1];
63          int16   sectarr[MINRES+1][MINRES+1];
# Line 145 | Line 150 | loopexit:
150   }
151  
152  
153 < int
154 < nextview(vp, fp)                        /* get next view from fp */
155 < VIEW    *vp;
156 < FILE    *fp;
153 > extern int
154 > nextview(                       /* get next view from fp */
155 >        VIEW    *vp,
156 >        FILE    *fp
157 > )
158   {
159          char    linebuf[256];
160  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines