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

Comparing ray/src/hd/rhd_qtree2r.c (file contents):
Revision 3.6 by schorsch, Thu Jan 1 11:21:55 2004 UTC vs.
Revision 3.7 by greg, Fri May 20 02:06:39 2011 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10  
11  
12   static void redraw(RTREE *tp, int x0, int y0, int x1, int y1, int l[2][2]);
13 < static void update( BYTE ca[3], RTREE *tp, 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   static void
# Line 49 | Line 49 | redraw(        /* mark portion of a tree for redraw */
49  
50   static void
51   update( /* update tree display as needed */
52 <        BYTE    ca[3],          /* returned average color */
52 >        uby8    ca[3],          /* returned average color */
53          register RTREE  *tp,
54          int     x0,
55          int     y0,
# Line 58 | Line 58 | update(        /* update tree display as needed */
58   )
59   {
60          int     csm[3], nc;
61 <        register BYTE   *cp;
62 <        BYTE    rgb[3];
61 >        register uby8   *cp;
62 >        uby8    rgb[3];
63          double  dpth2[4], d2;
64          int     gaps = 0;
65          int     mx, my;
# Line 139 | Line 139 | qtRedraw(      /* redraw part or all of our screen */
139   extern void
140   qtUpdate(void)                  /* update our tree display */
141   {
142 <        BYTE    ca[3];
142 >        uby8    ca[3];
143  
144          if (is_stump(&qtrunk))
145                  return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines