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.39 by greg, Wed Mar 12 17:26:58 2003 UTC

# Line 1 | Line 1
1   #ifndef lint
2 < static const char       RCSid[] = "$Id$";
2 > static const char RCSid[] = "$Id$";
3   #endif
4   /*
5   *  Shading functions for anisotropic materials.
# 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