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

Comparing ray/src/cv/bsdfmesh.c (file contents):
Revision 2.30 by greg, Thu Aug 21 10:33:48 2014 UTC vs.
Revision 2.31 by greg, Thu Aug 21 13:44:05 2014 UTC

# Line 100 | Line 100 | comp_bsdf_spec(void)
100  
101          if (dsf_list == NULL) {
102                  bsdf_spec_peak = 0;
103 <                bsdf_spec_crad = 0;
103 >                bsdf_spec_rad = 0;
104                  return;
105          }
106          for (rbf = dsf_list; rbf != NULL; rbf = rbf->next) {
# Line 112 | Line 112 | comp_bsdf_spec(void)
112                  ++n;
113          }
114          bsdf_spec_peak = peak_sum/(double)n;
115 <        bsdf_spec_crad = ANG2R( rad_sum/(double)n );
115 >        bsdf_spec_rad = rad_sum/(double)n;
116   }
117  
118   /* Create a new migration holder (sharing memory for multiprocessing) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines