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.3 by schorsch, Thu Jan 1 11:21:55 2004 UTC vs.
Revision 3.4 by greg, Fri May 20 02:06:39 2011 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9   #include "rhd_qtree.h"
10  
11   static void redraw(RTREE *tp, int x0, int y0, int x1, int y1, int l[2][2]);
12 < static void cpaint(BYTE rgb[3], float *p, int x0, int y0, int x1, int y1);
13 < static void update(BYTE ca[3], RTREE *tp, int x0, int y0, int x1, int y1);
12 > static void cpaint(uby8 rgb[3], float *p, int x0, int y0, int x1, int y1);
13 > static void update(uby8 ca[3], RTREE *tp, int x0, int y0, int x1, int y1);
14  
15  
16  
# Line 50 | Line 50 | redraw(        /* mark portion of a tree for redraw */
50  
51   static void
52   cpaint( /* paint a cone within a rectangle */
53 <        BYTE    rgb[3],
53 >        uby8    rgb[3],
54          register float  *p,
55          int     x0,
56          int     y0,
# Line 95 | Line 95 | cpaint(        /* paint a cone within a rectangle */
95  
96   static void
97   update( /* update tree display as needed */
98 <        BYTE    ca[3],          /* returned average color */
98 >        uby8    ca[3],          /* returned average color */
99          register RTREE  *tp,
100          int     x0,
101          int     y0,
# Line 104 | Line 104 | update(        /* update tree display as needed */
104   )
105   {
106          int     csm[3], nc;
107 <        register BYTE   *cp;
108 <        BYTE    rgb[3];
107 >        register uby8   *cp;
108 >        uby8    rgb[3];
109          int     gaps = 0;
110          int     mx, my;
111          register int    i;
# Line 171 | Line 171 | qtRedraw(      /* redraw part or all of our screen */
171   extern void
172   qtUpdate(void)                  /* update our tree display */
173   {
174 <        BYTE    ca[3];
174 >        uby8    ca[3];
175  
176          if (is_stump(&qtrunk))
177                  return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines