mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
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:
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) {
|
||||
|
||||
Reference in new issue
Block a user