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

Comparing ray/src/rt/t_func.c (file contents):
Revision 2.5 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.6 by greg, Wed Mar 5 16:16:53 2003 UTC

# Line 44 | Line 44 | register RAY  *r;
44          errno = 0;
45          for (i = 0; i < 3; i++) {
46                  disp[i] = evalue(mf->ep[i]);
47 <                if (errno) {
47 >                if (errno == EDOM || errno == ERANGE) {
48                          objerror(m, WARNING, "compute error");
49                          return(0);
50                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines