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

Comparing ray/src/rt/rv2.c (file contents):
Revision 2.6 by greg, Fri Jan 17 09:27:17 1992 UTC vs.
Revision 2.7 by greg, Tue Feb 18 16:38:51 1992 UTC

# Line 297 | Line 297 | char  *s;
297                          e *= atof(cp);
298          }
299          if (p != NULL) {                /* relative setting */
300 <                if (bright(p->v) <= FTINY) {
300 >                if (bright(p->v) < 1e-25) {
301                          error(COMMAND, "cannot normalize to zero");
302                          return;
303                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines