# | Line 472 | Line 472 | computesky() /* compute sky parameters */ | |
---|---|---|
472 | /* Compute the ground radiance */ | |
473 | zenithbr=calc_rel_lum_perez(0.0,radians(sunzenith),radians(sunzenith),skyclearness,skybrightness,coeff_perez); | |
474 | zenithbr*=diffnormalization; | |
475 | + | /* |
476 | fprintf(stderr, "gendaylit : the actual zenith radiance(W/m^2/sr) or luminance(cd/m^2) is : %.0lf\n", zenithbr); | |
477 | < | |
477 | > | */ |
478 | > | |
479 | if (skyclearness==1) | |
480 | normfactor = 0.777778; | |
481 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |