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

Comparing ray/src/cv/bsdfrbf.c (file contents):
Revision 2.13 by greg, Mon Oct 21 21:48:42 2013 UTC vs.
Revision 2.14 by greg, Mon Oct 21 22:03:03 2013 UTC

# Line 223 | Line 223 | build_rbfrep(RBFVAL **arp, int *np, int x0, int x1, in
223          if (!nleaves)                   /* nothing but branches? */
224                  return(nadded);
225                                          /* combine 4 leaves into 1? */
226 <        if (nleaves == 4 && x1-x0 < MAX_RAD && smooth_region(x0, x1, y0, y1))
226 >        if ((nleaves == 4) & (x1-x0 <= MAX_RAD) &&
227 >                        smooth_region(x0, x1, y0, y1))
228                  return(0);
229                                          /* need more array space? */
230          if ((*np+nleaves-1)>>RBFALLOCB != (*np-1)>>RBFALLOCB) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines