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

Comparing ray/src/rt/source.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:41:41 1989 UTC vs.
Revision 1.2 by greg, Fri Mar 3 20:58:33 1989 UTC

# Line 188 | Line 188 | register int  sn;              /* source number */
188                  else if (srcval[sn].so->otype == OBJ_RING)
189                          norm = getcone(srcval[sn].so,0)->ad;
190  
191 <                if (norm != NULL && (ddot = -DOT(sr->rdir, norm)) <= 0.0)
191 >                if (norm != NULL && (ddot = -DOT(sr->rdir, norm)) <= FTINY)
192                          return(0.0);            /* behind surface! */
193          }
194          if (dstrsrc > FTINY) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines