From 2763a7ca751cf13e9626cd2b57a5c4c0ef29d20d Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 23 Jul 2024 20:41:22 -0500 Subject: [PATCH] add missing brackets --- .../core/dataObjects/render/bufferBuilding/ColumnBox.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/render/bufferBuilding/ColumnBox.java b/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/render/bufferBuilding/ColumnBox.java index ee61960e6..7f068cab5 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/render/bufferBuilding/ColumnBox.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/render/bufferBuilding/ColumnBox.java @@ -136,7 +136,9 @@ public class ColumnBox if (adjCol == null) { if (!isTransparent || overVoid) + { builder.addQuadAdj(EDhDirection.SOUTH, x, minY, maxZ, xSize, ySize, color, irisBlockMaterialId, LodUtil.MAX_MC_LIGHT, blockLight); + } } else { @@ -153,7 +155,9 @@ public class ColumnBox if (adjCol == null) { if (!isTransparent || overVoid) + { builder.addQuadAdj(EDhDirection.WEST, x, minY, z, zSize, ySize, color, irisBlockMaterialId, LodUtil.MAX_MC_LIGHT, blockLight); + } } else { @@ -170,7 +174,9 @@ public class ColumnBox if (adjData[EDhDirection.EAST.ordinal() - 2] == null) { if (!isTransparent || overVoid) + { builder.addQuadAdj(EDhDirection.EAST, maxX, minY, z, zSize, ySize, color, irisBlockMaterialId, LodUtil.MAX_MC_LIGHT, blockLight); + } } else { @@ -181,7 +187,7 @@ public class ColumnBox } } - // the overlap color can be used to see faces that shouldn't be rendered + /** the overlap color can be used to see faces that shouldn't be rendered */ private static void makeAdjVerticalQuad( LodQuadBuilder builder, ColumnArrayView adjColumnView, EDhDirection direction, short x, short yMin, short z, short horizontalWidth, short ySize,