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

Comparing ray/src/hd/rhd_qtree2c.c (file contents):
Revision 3.4 by greg, Fri May 20 02:06:39 2011 UTC vs.
Revision 3.5 by greg, Fri Oct 5 19:19:16 2018 UTC

# Line 16 | Line 16 | static void update(uby8 ca[3], RTREE *tp, int x0, int
16  
17   static void
18   redraw( /* mark portion of a tree for redraw */
19 <        register RTREE  *tp,
19 >        RTREE   *tp,
20          int     x0,
21          int     y0,
22          int     x1,
# Line 26 | Line 26 | redraw(        /* mark portion of a tree for redraw */
26   {
27          int     quads = CH_ANY;
28          int     mx, my;
29 <        register int    i;
29 >        int     i;
30                                          /* compute midpoint */
31          mx = (x0 + x1) >> 1;
32          my = (y0 + y1) >> 1;
# Line 51 | Line 51 | redraw(        /* mark portion of a tree for redraw */
51   static void
52   cpaint( /* paint a cone within a rectangle */
53          uby8    rgb[3],
54 <        register float  *p,
54 >        float   *p,
55          int     x0,
56          int     y0,
57          int     x1,
# Line 96 | Line 96 | cpaint(        /* paint a cone within a rectangle */
96   static void
97   update( /* update tree display as needed */
98          uby8    ca[3],          /* returned average color */
99 <        register RTREE  *tp,
99 >        RTREE   *tp,
100          int     x0,
101          int     y0,
102          int     x1,
# Line 104 | Line 104 | update(        /* update tree display as needed */
104   )
105   {
106          int     csm[3], nc;
107 <        register uby8   *cp;
107 >        uby8    *cp;
108          uby8    rgb[3];
109          int     gaps = 0;
110          int     mx, my;
111 <        register int    i;
111 >        int     i;
112                                          /* compute midpoint */
113          mx = (x0 + x1) >> 1;
114          my = (y0 + y1) >> 1;
# Line 149 | Line 149 | update(        /* update tree display as needed */
149   }
150  
151  
152 < extern void
152 > void
153   qtRedraw(       /* redraw part or all of our screen */
154          int     x0,
155          int     y0,
# Line 168 | Line 168 | qtRedraw(      /* redraw part or all of our screen */
168   }
169  
170  
171 < extern void
171 > void
172   qtUpdate(void)                  /* update our tree display */
173   {
174          uby8    ca[3];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines