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

Comparing ray/src/rt/srcobstr.c (file contents):
Revision 2.3 by greg, Fri Jan 9 05:37:12 2004 UTC vs.
Revision 2.4 by schorsch, Tue Mar 30 16:13:01 2004 UTC

# Line 197 | Line 197 | srcobstructp(register RAY *r)
197                  ondx += (int)(2*SHADCACHE*srcp->obscache->p.d.e2 *
198                                  (r->rorg[ax2] + t*srcp->sloc[ax2] -
199                                          srcp->obscache->p.d.o[ax2]));
200 <                if (ondx < 0 | ondx >= 4*SHADCACHE*SHADCACHE)
200 >                if ((ondx < 0) | (ondx >= 4*SHADCACHE*SHADCACHE))
201                          return(&noobs); /* could happen if ray is outside */
202          } else if (srcp->sflags & SFLAT) {
203                  FVECT   sd;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines