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

Comparing ray/src/util/dctimestep.c (file contents):
Revision 2.16 by greg, Mon Apr 11 03:47:46 2011 UTC vs.
Revision 2.17 by greg, Fri Apr 15 18:43:57 2011 UTC

# 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++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines