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

Comparing ray/src/util/evalglare.c (file contents):
Revision 2.11 by greg, Tue Jun 30 15:57:30 2020 UTC vs.
Revision 2.12 by greg, Tue Jun 3 21:31:51 2025 UTC

# Line 370 | Line 370 | calculate "illuminance-contribution of zones"
370   #include "platform.h"
371   #include "muc_randvar.h"
372  
373 char *progname;
374
373   /* subroutine to add a pixel to a glare source */
374   void add_pixel_to_gs(pict * p, int x, int y, int gsn)
375   {
# Line 1613 | Line 1611 | int main(int argc, char **argv)
1611          set_lum_max2 = 0;
1612          img_corr=0;
1613          abs_max = 0;
1614 <        progname = argv[0];
1614 >        fixargv0(argv[0]);
1615          E_v_contr = 0.0;
1616          strcpy(version, "1.19 release 09.12.2015 by J.Wienold");
1617          low_light_corr=1.0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines