--- ray/src/ot/o_instance.c 1990/12/15 19:55:05 1.6 +++ ray/src/ot/o_instance.c 1991/01/05 09:41:26 1.7 @@ -1,4 +1,4 @@ -/* Copyright (c) 1990 Regents of the University of California */ +/* Copyright (c) 1991 Regents of the University of California */ #ifndef lint static char SCCSid[] = "$SunId$ LBL"; @@ -56,8 +56,8 @@ CUBE *cu; in = getinstance(o, IO_BOUNDS); /* check if cube vertex in octree */ for (j = 0; j < 3; j++) - cumax[j] = (cumin[j] = cu->cuorg[j]-FTINY) - + cu->cusize + 2.0*FTINY; + cumax[j] = (cumin[j] = in->obj->scube.cuorg[j]) + + in->obj->scube.cusize; vloc = ABOVE | BELOW; vout = 0; for (i = 0; i < 8; i++) {