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

Comparing ray/src/rt/m_direct.c (file contents):
Revision 2.4 by greg, Wed Jan 12 16:46:39 1994 UTC vs.
Revision 2.5 by greg, Tue Dec 20 20:18:17 1994 UTC

# 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! */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines