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

Comparing ray/src/rt/ashikhmin.c (file contents):
Revision 2.7 by greg, Wed Nov 15 18:02:52 2023 UTC vs.
Revision 2.8 by greg, Fri Apr 5 01:10:26 2024 UTC

# Line 238 | Line 238 | ashiksamp(             /* sample anisotropic Ashikhmin-Shirley sp
238          int  maxiter, ntrials, nstarget, nstaken;
239          int  i;
240  
241 <        if (rayorigin(&sr, SPECULAR, np->rp, np->scolor) < 0)
241 >        if (rayorigin(&sr, RSPECULAR, np->rp, np->scolor) < 0)
242                  return;
243  
244          nstarget = 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines