aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-06 23:37:42 +0200
committermakamys <makamys@outlook.com>2022-06-07 01:24:27 +0200
commit3c5f6da8509cdc6a83526003b043177c5e1cd24f (patch)
tree9f4d7932e99ff0ca131d4f0ae4c31cdeb8157c1d /src
parent084b70a107b5e94e576ae79d61a247b2b569b17a (diff)
downloadNeodymium-3c5f6da8509cdc6a83526003b043177c5e1cd24f.tar.gz
Neodymium-3c5f6da8509cdc6a83526003b043177c5e1cd24f.tar.bz2
Neodymium-3c5f6da8509cdc6a83526003b043177c5e1cd24f.zip
Make triangulation same as vanilla
Diffstat (limited to 'src')
-rw-r--r--src/main/java/makamys/lodmod/renderer/ChunkMesh.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/ChunkMesh.java b/src/main/java/makamys/lodmod/renderer/ChunkMesh.java
index 9721b44..09a8cd5 100644
--- a/src/main/java/makamys/lodmod/renderer/ChunkMesh.java
+++ b/src/main/java/makamys/lodmod/renderer/ChunkMesh.java
@@ -170,7 +170,7 @@ public class ChunkMesh extends Mesh {
private static void writeBufferQuad(Tessellator t, int offset, BufferWriter out, float offsetX, float offsetY, float offsetZ) throws IOException {
for(int vertexI = 0; vertexI < 6; vertexI++) {
- int vi = new int[]{0, 1, 3, 1, 2, 3}[vertexI];
+ int vi = new int[]{0, 1, 2, 0, 2, 3}[vertexI];
int i = offset + vi * 8;