iris:post reads its neighbours' heights through TerrainSampler.surfaceY, which spares the host the slope of every column of the height plane

This commit is contained in:
piexel committed 2026-10-10 14:46:22 +02:00
1 parent 2148eb28cd
commit 78eee638ae
1 file changed
+1 -1
@@ -146,7 +146,7 @@ final class SurfaceSmoothing {
}
private int surfaceHeight(int x, int z) {
return (int) Math.round(terrain.column(x, z).surfaceY());
return (int) Math.round(terrain.surfaceY(x, z));
}
private void post(int localX, int localZ) {