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

Comparing ray/src/rt/virtuals.c (file contents):
Revision 1.11 by greg, Tue Jun 25 15:48:11 1991 UTC vs.
Revision 1.12 by greg, Tue Jun 25 16:42:05 1991 UTC

# Line 179 | Line 179 | MAT4  pm;
179                  }
180                  if (source[sn].sflags & SFLAT) {        /* behind source? */
181                          multv3(nsnorm, source[sn].snorm, pm);
182 <                        if (checkspot(&ourspot, nsnorm) < 0)
182 >                        if (!checkspot(&ourspot, nsnorm))
183                                  return(-1);
184                  }
185          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines