# | Line 40 | Line 40 | extern int hsize; /* horizontal size */ | |
---|---|---|
40 | ||
41 | #define nglardirs (2*nglarangs+1) | |
42 | #define vsize (sampdens-1) | |
43 | < | #define hscale(v) sqrt(1.-(double)((v)*(v)/(sampdens*sampdens))) |
44 | < | #define hlim(v) (int)(maxtheta*sampdens*hscale(v)) |
45 | < | #define h_theta(h,v) (-(h)/(sampdens*hscale(v))) |
43 | > | #define hscale(v) sqrt((double)(sampdens*sampdens - (v)*(v))) |
44 | > | #define hlim(v) (int)(maxtheta*hscale(v)) |
45 | > | #define h_theta(h,v) (-(h)/hscale(v)) |
46 | ||
47 | extern struct illum { | |
48 | float theta; /* glare direction */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |