AbstractHeightMap.smooth() bug

Hi Sploreg,



wanted to say that the smooth()-method doesn’t work because in the ImageBasedHeightMap, you set

[java] size = imageWidth;[/java]

and in AbstractHeightMap the smooth()-method checks out of bound with

[java]

if (i < 0 || i > size) {

continue;

}

if (j < 0 || j > size) {

continue;

}[/java]

which really should be “>= size”.



Cheers