# | 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)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |