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.7 by greg, Mon Oct 25 22:57:45 2010 UTC vs.
Revision 2.8 by greg, Tue Jul 8 18:25:00 2014 UTC

# Line 13 | Line 13 | static const char RCSid[] = "$Id$";
13   #include  "cone.h"
14  
15  
16 < extern int
16 > int
17   o_cone(                 /* intersect ray with cone */
18          OBJREC  *o,
19 <        register RAY  *r
19 >        RAY  *r
20   )
21   {
22          FVECT  rox, rdx;
23          double  a, b, c;
24          double  root[2];
25          int  nroots, rn;
26 <        register CONE  *co;
27 <        register int  i;
26 >        CONE  *co;
27 >        int  i;
28  
29                                                  /* get cone structure */
30          co = getcone(o, 1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines