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

Comparing ray/src/util/ranimove2.c (file contents):
Revision 3.6 by schorsch, Fri Mar 26 21:36:20 2004 UTC vs.
Revision 3.7 by greg, Wed Jun 16 09:50:33 2004 UTC

# Line 233 | Line 233 | est_consp(     /* estimate error conspicuity & update */
233                                                  /* worth the bother? */
234          if (eest <= .01)
235                  return;
236 <                                                /* sum into map */
236 >                                                /* put into map */
237          for ( ; y0 < y1; y0++) {
238                  float   *em0 = cerrmap + fndx(x0, y0);
239                  register float  *emp = em0 + (x1-x0);
240                  while (emp-- > em0)
241 <                        *emp += eest;
241 >                        if (eest > *emp)
242 >                                *emp = eest;
243          }
244          cerrzero = 0;
245   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines