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.3 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.4 by greg, Tue Mar 11 17:08:55 2003 UTC

# Line 1 | Line 1
1   #ifndef lint
2 < static const char       RCSid[] = "$Id$";
2 > static const char RCSid[] = "$Id$";
3   #endif
4   /*
5   *  o_cone.c - routine to determine ray intersection with cones.
# Line 127 | 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