• David Rohr's avatar
    fix sum and sumsquare calculation: for the non FFT algorithm sum was... · 2de9b5dc
    David Rohr authored
    fix sum and sumsquare calculation: for the non FFT algorithm sum was calculated twice before (stupid mistake), for the FFT algorithm there is actually a dependency for the sumsquare calculation on whether NumberPixels is odd or even. Although, the effect is very small for normal maps since high order fourier coefficients are small then. Anyhow, should be correct now
    2de9b5dc
bioem.cpp 29.8 KB