# | Line 1 | Line 1 | |
---|---|---|
1 | < | /* Copyright (c) 1991 Regents of the University of California */ |
1 | > | /* Copyright (c) 1994 Regents of the University of California */ |
2 | ||
3 | #ifndef lint | |
4 | static char SCCSid[] = "$SunId$ LBL"; | |
# | Line 159 | Line 159 | int n; | |
159 | olddot = DOT(tr.rdir, nv); | |
160 | if (olddot <= FTINY && olddot >= -FTINY) | |
161 | return(0); /* old dir parallels plane */ | |
162 | + | tr.rmax = 0.0; |
163 | rayorigin(&tr, NULL, PRIMARY, 1.0); | |
164 | if (!(*ofun[o->otype].funp)(o, &tr)) | |
165 | return(0); /* no intersection! */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |