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

Comparing ray/src/rt/ambcomp.c (file contents):
Revision 2.96 by greg, Fri Nov 15 20:47:42 2024 UTC vs.
Revision 2.97 by greg, Sat Jan 18 03:49:00 2025 UTC

# Line 112 | Line 112 | ambsample(                             /* initial ambient division sample */
112          if (rayorigin(&ar, hp->atyp, hp->rp, ar.rcoef) < 0)
113                  return(0);
114          if (ambacc > FTINY) {
115 #ifdef SSKIPOPT
116                ar.rsrc = -1;           /* protect cache from source opt. */
117                ar.scorr = 1.f;
118 #endif
115                  smultscolor(ar.rcoef, hp->acoef);
116                  scalescolor(ar.rcoef, 1./AVGREFL);
117          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines