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.13 by greg, Thu Nov 19 20:27:03 1992 UTC vs.
Revision 2.15 by greg, Mon Mar 8 12:37:35 1993 UTC

# Line 287 | Line 287 | char  *s;
287                          for (cp++; isspace(*cp); cp++)
288                                  ;
289                          if (*cp == '\0') {      /* interactive */
290 <                                sprintf(buf, "exposure (%lf): ", exposure);
290 >                                sprintf(buf, "exposure (%f): ", exposure);
291                                  (*dev->comout)(buf);
292                                  (*dev->comin)(buf, NULL);
293                                  for (cp = buf; isspace(*cp); cp++)
# Line 305 | Line 305 | char  *s;
305                          e *= atof(cp);
306          }
307          if (p != NULL) {                /* relative setting */
308 <                if (bright(p->v) < 1e-25) {
308 >                if (bright(p->v) < 1e-15) {
309                          error(COMMAND, "cannot normalize to zero");
310                          return;
311                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines