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

Comparing ray/src/rt/o_cone.c (file contents):
Revision 2.8 by greg, Tue Jul 8 18:25:00 2014 UTC vs.
Revision 2.9 by greg, Thu Apr 21 00:40:35 2016 UTC

# Line 28 | Line 28 | o_cone(                        /* intersect ray with cone */
28  
29                                                  /* get cone structure */
30          co = getcone(o, 1);
31 +        if (co == NULL)
32 +                objerror(o, INTERNAL, "unexpected illegal");
33  
34          /*
35           *     To intersect a ray with a cone, we transform the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines