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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.49 by greg, Tue Apr 19 01:15:06 2005 UTC vs.
Revision 2.50 by greg, Thu May 26 06:55:22 2005 UTC

# Line 58 | Line 58 | rayorigin(             /* start new ray from old one */
58                  r->crtype = r->rtype = rt;
59                  r->rsrc = -1;
60                  r->clipset = NULL;
61 +                r->revf = raytrace;
62                  copycolor(r->cext, cextinction);
63                  copycolor(r->albedo, salbedo);
64                  r->gecc = seccg;
# Line 78 | Line 79 | rayorigin(             /* start new ray from old one */
79                          r->clipset = ro->newcset;
80                          r->rmax = ro->rmax <= FTINY ? 0.0 : ro->rmax - ro->rot;
81                  }
82 +                r->revf = ro->revf;
83                  copycolor(r->cext, ro->cext);
84                  copycolor(r->albedo, ro->albedo);
85                  r->gecc = ro->gecc;
# Line 118 | Line 120 | rayclear(                      /* clear a ray for (re)evaluation */
120  
121  
122   extern void
123 < rayvalue(                       /* trace a ray and compute its value */
123 > raytrace(                       /* trace a ray and compute its value */
124          RAY  *r
125   )
126   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines