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

Comparing ray/src/rt/normal.c (file contents):
Revision 2.69 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.70 by greg, Thu May 21 05:54:54 2015 UTC

# Line 402 | Line 402 | gaussamp(                      /* sample Gaussian specular */
402                          (np->specfl & (SP_TRAN|SP_TBLT)) != SP_TRAN)
403                  return;
404                                          /* set up sample coordinates */
405 <        getperpendicular(u, np->pnorm);
405 >        getperpendicular(u, np->pnorm, rand_samp);
406          fcross(v, np->pnorm, u);
407                                          /* compute reflection */
408          if ((np->specfl & (SP_REFL|SP_RBLT)) == SP_REFL &&

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines