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

Comparing ray/src/ot/o_face.c (file contents):
Revision 2.2 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 2.3 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 59 | Line 59 | CUBE  *cu;
59  
60          vloc = ABOVE | BELOW;           /* check vertices */
61          for (i = 0; i < f->nv; i++)
62 <                if (j = plocate(VERTEX(f,i), cumin, cumax))
62 >                if ( (j = plocate(VERTEX(f,i), cumin, cumax)) )
63                          vloc &= j;
64                  else
65                          return(O_HIT);  /* vertex inside */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines