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.2 by gregl, Tue Nov 25 17:33:02 1997 UTC vs.
Revision 3.3 by gregl, Wed Nov 26 20:13:10 1997 UTC

# Line 26 | Line 26 | int    l[2][2];
26          my = (y0 + y1) >> 1;
27                                          /* see what to do */
28          if (l[0][0] > mx)
29 <                quads &= ~(CHF(2)|CHF(0));
29 >                quads &= ~(CHF(UL)|CHF(DL));
30          else if (l[0][1] < mx)
31 <                quads &= ~(CHF(3)|CHF(1));
31 >                quads &= ~(CHF(UR)|CHF(DR));
32          if (l[1][0] > my)
33 <                quads &= ~(CHF(1)|CHF(0));
33 >                quads &= ~(CHF(DR)|CHF(DL));
34          else if (l[1][1] < my)
35 <                quads &= ~(CHF(3)|CHF(2));
35 >                quads &= ~(CHF(UR)|CHF(UL));
36          tp->flgs |= quads;              /* mark quadrants for update */
37                                          /* climb the branches */
38          for (i = 0; i < 4; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines