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

Comparing ray/src/rt/raycalls.c (file contents):
Revision 2.21 by greg, Tue Feb 24 19:39:27 2015 UTC vs.
Revision 2.23 by greg, Tue Jan 23 23:37:11 2018 UTC

# Line 272 | Line 272 | ray_save(                      /* save current parameter settings */
272                  if (ndx+len >= sizeof(rp->amblval))
273                          break;
274                  strcpy(rp->amblval+ndx, amblist[i]);
275 +                rp->amblndx[i] = ndx;
276                  ndx += len+1;
277          }
278          while (i <= AMBLLEN)
# Line 392 | Line 393 | ray_defaults(          /* get default parameter values */
393          memset(rp->amblval, '\0', sizeof(rp->amblval));
394          for (i = AMBLLEN+1; i--; )
395                  rp->amblndx[i] = -1;
396 +        
397 +        /* PMAP: restore photon mapping defaults */
398 +        ray_defaults_pmap(rp);
399   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines