diff options
author | makamys <makamys@outlook.com> | 2022-06-09 21:45:14 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-10 19:20:58 +0200 |
commit | 82bc5d0f2c6fb9952501d768519760cd110a925f (patch) | |
tree | 870b13e22628e1d7520bdbce1de2f5d31e39acff /src/main/java/makamys | |
parent | f52fb6744aa0f675965df7a596b9c3a469e7b54b (diff) | |
download | Neodymium-82bc5d0f2c6fb9952501d768519760cd110a925f.tar.gz Neodymium-82bc5d0f2c6fb9952501d768519760cd110a925f.tar.bz2 Neodymium-82bc5d0f2c6fb9952501d768519760cd110a925f.zip |
Merging sure does work now!
Diffstat (limited to 'src/main/java/makamys')
-rw-r--r-- | src/main/java/makamys/neodymium/renderer/ChunkMesh.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java index 3b1f1ef..fcfebf0 100644 --- a/src/main/java/makamys/neodymium/renderer/ChunkMesh.java +++ b/src/main/java/makamys/neodymium/renderer/ChunkMesh.java @@ -123,7 +123,7 @@ public class ChunkMesh extends Mesh { MeshQuad quad = planeDirQuads.get(quadI); MeshQuad nextQuad = quadI == planeDirQuads.size() - 1 ? null : planeDirQuads.get(quadI + 1); if(!quad.onSamePlaneAs(nextQuad)) { - simplifyPlane(planeDirQuads.subList(planeStart, quadI)); + simplifyPlane(planeDirQuads.subList(planeStart, quadI + 1)); planeStart = quadI + 1; } } |