| # | Line 361 | Line 361 | agaussamp( /* sample anisotropic Gaussian specular */ | |
|---|---|---|
| 361 | nstarget = sr.rweight/minweight; | |
| 362 | if (nstarget > 1) { | |
| 363 | d = 1./nstarget; | |
| 364 | < | scalecolor(sr.rcoef, d); |
| 364 | > | scalescolor(sr.rcoef, d); |
| 365 | sr.rweight *= d; | |
| 366 | } else | |
| 367 | nstarget = 1; | |
| # | Line 432 | Line 432 | agaussamp( /* sample anisotropic Gaussian specular */ | |
| 432 | nstarget = sr.rweight/minweight; | |
| 433 | if (nstarget > 1) { | |
| 434 | d = 1./nstarget; | |
| 435 | < | scalecolor(sr.rcoef, d); |
| 435 | > | scalescolor(sr.rcoef, d); |
| 436 | sr.rweight *= d; | |
| 437 | } else | |
| 438 | nstarget = 1; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |