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 1.3 by greg, Sat Oct 14 11:19:32 1989 UTC vs.
Revision 2.2 by greg, Sat Feb 22 02:07:26 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 57 | Line 54 | CUBE  *cu;
54                  return(O_MISS);
55                                          /* compute cube boundaries */
56          for (j = 0; j < 3; j++)
57 <                cumax[j] = (cumin[j] = cu->cuorg[j]) + cu->cusize;
57 >                cumax[j] = (cumin[j] = cu->cuorg[j]-FTINY)
58 >                                + cu->cusize + 2.0*FTINY;
59  
60          vloc = ABOVE | BELOW;           /* check vertices */
61          for (i = 0; i < f->nv; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines