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.13 by schorsch, Mon Jun 30 14:59:12 2003 UTC vs.
Revision 2.14 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 176 | Line 176 | register RAY  *r;
176          } else {                                /* leaving ray */
177                  if (myslist != NULL) {                  /* delete from list */
178                          for (j = myslist[0]; j > 0; j--)
179 <                                if (i = inslist(p.slights, myslist[j]))
179 >                                if ( (i = inslist(p.slights, myslist[j])) )
180                                          p.slights[i] = -1;
181                          for (i = 0, j = 1; j <= p.slights[0]; j++)
182                                  if (p.slights[j] != -1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines