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

Comparing ray/src/ot/o_instance.c (file contents):
Revision 1.6 by greg, Sat Dec 15 19:55:05 1990 UTC vs.
Revision 1.7 by greg, Sat Jan 5 09:41:26 1991 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1990 Regents of the University of California */
1 > /* Copyright (c) 1991 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 56 | Line 56 | CUBE  *cu;
56          in = getinstance(o, IO_BOUNDS);
57                                          /* check if cube vertex in octree */
58          for (j = 0; j < 3; j++)
59 <                cumax[j] = (cumin[j] = cu->cuorg[j]-FTINY)
60 <                                + cu->cusize + 2.0*FTINY;
59 >                cumax[j] = (cumin[j] = in->obj->scube.cuorg[j]) +
60 >                                in->obj->scube.cusize;
61          vloc = ABOVE | BELOW;
62          vout = 0;
63          for (i = 0; i < 8; i++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines