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.93 by greg, Mon Dec 9 00:44:29 2024 UTC vs.
Revision 2.94 by greg, Sat Jan 18 03:49:00 2025 UTC

# Line 61 | Line 61 | rayorigin(             /* start new ray from old one */
61                  r->rweight = rw;
62                  r->crtype = r->rtype = rt;
63                  r->rsrc = -1;
64 #ifdef SSKIPOPT
65                r->scorr = 1.f;
66 #endif
64                  r->clipset = NULL;
65                  r->revf = raytrace;
66                  copycolor(r->cext, cextinction);
# Line 77 | Line 74 | rayorigin(             /* start new ray from old one */
74                  }
75                  r->rlvl = ro->rlvl;
76                  r->rsrc = ro->rsrc;
80 #ifdef SSKIPOPT
81                r->scorr = ro->scorr;
82 #endif
77                  if (rt & RAYREFL) {
78                          r->rlvl++;
79                          if (r->rsrc >= 0)       /* malfunctioning material? */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines