| # | Line 235 | Line 235 | samp_hemi( /* sample indirect hemisphere */ | |
|---|---|---|
| 235 | d = 1.0/(n*n); | |
| 236 | scalecolor(hp->acoef, d); | |
| 237 | /* make tangent plane axes */ | |
| 238 | < | if (!getperpendicular(hp->ux, r->ron)) |
| 238 | > | if (!getperpendicular(hp->ux, r->ron, 1)) |
| 239 | error(CONSISTENCY, "bad ray direction in samp_hemi"); | |
| 240 | VCROSS(hp->uy, r->ron, hp->ux); | |
| 241 | /* sample divisions */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |