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 1.2 by greg, Wed Apr 19 22:24:30 1989 UTC vs.
Revision 1.3 by greg, Sat Dec 15 15:03:37 1990 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1986 Regents of the University of California */
1 > /* Copyright (c) 1990 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 71 | Line 71 | register RAY  *r;
71                  r->ron[i] = (r->rop[i] - ap[i]) / a;
72          }
73          r->rod = -DOT(r->rdir, r->ron);
74 <        r->rofs = 1.0; setident4(r->rofx);
75 <        r->robs = 1.0; setident4(r->robx);
74 >        r->rox = NULL;
75  
76          return(1);                      /* hit */
77   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines