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

Comparing ray/src/rt/sphere.c (file contents):
Revision 2.4 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.5 by greg, Wed Mar 12 04:59:05 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   *  sphere.c - compute ray intersection with spheres.
# Line 77 | Line 77 | register RAY  *r;
77          }
78          r->rod = -DOT(r->rdir, r->ron);
79          r->rox = NULL;
80 +        r->pert[0] = r->pert[1] = r->pert[2] = 0.0;
81 +        r->uv[0] = r->uv[1] = 0.0;
82  
83          return(1);                      /* hit */
84   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines