# | Line 190 | Line 190 | char *argv[]; | |
---|---|---|
190 | fputs(VIEWSTR, stdout); | |
191 | fprintview(&ourview, stdout); | |
192 | printf("\n"); | |
193 | < | fputformat("ASCII", stdout); |
193 | > | fputformat("ascii", stdout); |
194 | printf("\n"); | |
195 | printsources(); /* print glare sources */ | |
196 | printillum(); /* print illuminances */ | |
# | Line 330 | Line 330 | int x, y; | |
330 | xo = x-hl; | |
331 | else | |
332 | xo = 0; | |
333 | < | disc = 1. - (xo*xo + y*y)/(sampdens*sampdens); |
333 | > | disc = 1. - (double)(xo*xo + y*y)/(sampdens*sampdens); |
334 | if (disc <= FTINY) | |
335 | return(0.); | |
336 | return(1./(sampdens*sampdens*sqrt(disc))); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |