| # | Line 300 | Line 300 | cm_bsdf(const COLOR bsdfLamb, const COLOR specCol, con | |
|---|---|---|
| 300 | CMATRIX *cm = cm_alloc(bsdf->nout, bsdf->ninc); | |
| 301 | int nbadohm = 0; | |
| 302 | int nneg = 0; | |
| 303 | – | float dom; |
| 304 | – | int doforward; |
| 303 | int r, c; | |
| 304 | /* reciprocity is "transparent" */ | |
| 305 | for (c = 0; c < cm->ncols; c++) { | |
| 306 | < | /* get projected solid angle */ |
| 307 | < | dom = mBSDF_incohm(bsdf,c); |
| 306 | > | const double dom = mBSDF_incohm(bsdf,c); |
| 307 | > | /* projected solid angle */ |
| 308 | nbadohm += (dom <= 0); | |
| 309 | ||
| 310 | for (r = 0; r < cm->nrows; r++) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |