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

Comparing ray/src/rt/m_mist.c (file contents):
Revision 2.15 by schorsch, Tue Mar 30 16:13:01 2004 UTC vs.
Revision 2.17 by greg, Tue Apr 19 01:15:06 2005 UTC

# Line 1 | Line 1
1   #ifndef lint
2 < static const char RCSid[] = "$Id";
2 > static const char RCSid[] = "$Id$";
3   #endif
4   /*
5   * Mist volumetric material.
# Line 165 | Line 165 | m_mist(                /* process a ray entering or leaving some mis
165          } else
166                  setcolor(mext, 0., 0., 0.);
167                                                  /* start transmitted ray */
168 <        if (rayorigin(&p, r, TRANS, 1.) < 0)
168 >        if (rayorigin(&p, TRANS, r, NULL) < 0)
169                  return(1);
170          VCOPY(p.rdir, r->rdir);
171          p.slights = newslist;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines