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

Comparing ray/src/ot/bbox.c (file contents):
Revision 2.6 by greg, Tue Jun 14 17:10:06 2005 UTC vs.
Revision 2.7 by greg, Fri Sep 16 15:09:21 2016 UTC

# Line 61 | Line 61 | add2bbox(              /* expand bounding box to fit object */
61          case OBJ_TUBE:
62          case OBJ_RING:
63                  co = getcone(o, 0);
64 +                if (co == NULL)
65 +                        break;
66                  if (o->otype != OBJ_RING)
67                          circle2bbox(CO_P0(co), co->ad, CO_R0(co), bbmin, bbmax);
68                  circle2bbox(CO_P1(co), co->ad, CO_R1(co), bbmin, bbmax);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines