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

Comparing ray/src/rt/m_brdf.c (file contents):
Revision 2.43 by greg, Fri Dec 13 19:05:03 2024 UTC vs.
Revision 2.44 by greg, Wed Dec 18 17:57:06 2024 UTC

# Line 432 | Line 432 | setbrdfunc(                    /* set up brdf function and variables */
432          varset("NxP`", '=', vec[0]/funcxf.sca);
433          varset("NyP`", '=', vec[1]/funcxf.sca);
434          varset("NzP`", '=', vec[2]/funcxf.sca);
435 <        varset("RdotP`", '=', np->pdot <= -1.0 ? -1.0 :
436 <                        np->pdot >= 1.0 ? 1.0 : np->pdot);
435 >        varset("RdotP`", '=', np->pdot);
436          scolor_color(ctmp, np->mcolor);         /* should use scolor_rgb()? */
437          varset("CrP", '=', colval(ctmp,RED));
438          varset("CgP", '=', colval(ctmp,GRN));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines