# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |