Merge branch 'develop' into distributed-grids

This commit is contained in:
Axel Kohlmeyer
2022-12-14 18:12:10 -05:00
249 changed files with 11456 additions and 9587 deletions

View File

@ -989,7 +989,6 @@ void Image::compute_SSAO()
double minPeak = -1;
double peakLen = 0.0;
int stepsTaken = 1;
while ((small > 0 && ind <= end) || (small < 0 && ind >= end)) {
if (ind < 0 || ind >= (width*height)) {
break;
@ -1009,7 +1008,6 @@ void Image::compute_SSAO()
ind += large;
err -= 1.0;
}
stepsTaken ++;
}
if (peakLen > 0) {