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.3 by greg, Fri Jun 19 14:21:42 2009 UTC vs.
Revision 2.4 by greg, Fri Jun 19 14:24:06 2009 UTC

# Line 318 | Line 318 | cm_bsdf(const struct BSDF_data *bsdf)
318                                  
319                          mp[0] = mp[1] = mp[2] = f * dom * -v[2];
320                  }
321 <        if (nbadohm | nneg) {
321 >        if (nneg || nbadohm) {
322                  sprintf(errmsg,
323 <                    "BTDF has %d negatives and %d bad incoming solid angles");
323 >                    "BTDF has %d negatives and %d bad incoming solid angles",
324 >                                nneg, nbadohm);
325                  error(WARNING, errmsg);
326          }
327          return(cm);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines