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

Comparing ray/src/rt/aniso.c (file contents):
Revision 2.36 by greg, Mon Mar 3 00:10:51 2003 UTC vs.
Revision 2.37 by greg, Wed Mar 5 16:16:52 2003 UTC

# Line 318 | Line 318 | register ANISODAT  *np;
318          errno = 0;
319          for (i = 0; i < 3; i++)
320                  np->u[i] = evalue(mf->ep[i]);
321 <        if (errno) {
321 >        if (errno == EDOM || errno == ERANGE) {
322                  objerror(np->mp, WARNING, "compute error");
323                  np->specfl |= SP_BADU;
324                  return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines