# | Line 98 | Line 98 | compveil() /* compute veiling image */ | |
---|---|---|
98 | rdirscan(y)[x]); | |
99 | if (t2 <= FTINY) continue; | |
100 | /* use approximation instead | |
101 | < | t2 = acos(t2); |
102 | < | t2 = 1./(t2*t2); |
101 | > | t3 = acos(t2); |
102 | > | t2 = t2/(t3*t3); |
103 | */ | |
104 | < | t2 = .5 / (1. - t2); |
104 | > | t2 *= .5 / (1. - t2); |
105 | copycolor(ctmp, fovscan(y)[x]); | |
106 | scalecolor(ctmp, t2); | |
107 | addcolor(vsum, ctmp); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |