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

Comparing ray/src/ot/oconv.c (file contents):
Revision 2.19 by schorsch, Sat Mar 27 12:41:45 2004 UTC vs.
Revision 2.20 by greg, Mon Apr 12 17:31:27 2004 UTC

# Line 271 | Line 271 | add2full(                      /* add object to full node */
271          objset(oset, cu->cutree);
272          cukid.cusize = cu->cusize * 0.5;
273  
274 <        if (inc==O_IN || oset[0] < objlim || cukid.cusize < mincusize) {
274 >        if (inc==O_IN || oset[0] < objlim || cukid.cusize <
275 >                        (oset[0] < MAXSET ? mincusize : mincusize/256.0)) {
276                                                  /* add to set */
277                  if (oset[0] >= MAXSET) {
278                          sprintf(errmsg, "set overflow in addobject (%s)",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines