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.2 by greg, Sat Oct 24 08:15:32 1992 UTC vs.
Revision 2.5 by greg, Wed Mar 12 04:59:05 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1992 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   *  sphere.c - compute ray intersection with spheres.
9 *
10 *     8/19/85
6   */
7  
8 + #include "copyright.h"
9 +
10   #include  "ray.h"
11  
12   #include  "otypes.h"
# Line 80 | 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