Merge branch 'develop' into distributed-grids
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user