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.1 by greg, Tue Nov 12 17:09:26 1991 UTC vs.
Revision 2.4 by greg, Tue Mar 11 17:08:55 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1990 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  o_cone.c - routine to determine ray intersection with cones.
9 *
10 *     2/13/86
6   */
7  
8 + #include "copyright.h"
9 +
10   #include  "ray.h"
11  
12   #include  "otypes.h"
# Line 130 | Line 127 | register RAY  *r;
127                                  r->ron[i] = (co->al*r->ron[i] - c*co->ad[i])
128                                                  /co->sl;
129                  r->rod = -DOT(r->rdir, r->ron);
130 +                r->pert[0] = r->pert[1] = r->pert[2] = 0.0;
131 +                r->uv[0] = r->uv[1] = 0.0;
132                  r->rox = NULL;
133                  return(1);                      /* good */
134          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines