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

Comparing ray/src/rt/t_func.c (file contents):
Revision 2.10 by greg, Tue Jul 8 18:25:00 2014 UTC vs.
Revision 2.11 by greg, Tue Dec 3 19:36:58 2024 UTC

# Line 46 | Line 46 | t_func(                        /* compute texture for ray */
46          errno = 0;
47          for (i = 0; i < 3; i++) {
48                  disp[i] = evalue(mf->ep[i]);
49 <                if (errno == EDOM || errno == ERANGE) {
49 >                if ((errno == EDOM) | (errno == ERANGE)) {
50                          objerror(m, WARNING, "compute error");
51                          return(0);
52                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)