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.1 by greg, Tue Nov 12 17:00:53 1991 UTC vs.
Revision 2.3 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1986 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  o_face.c - routines for creating octrees for polygonal faces.
6   *
# Line 62 | 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