Optimization to getLodToRender

This commit is contained in:
Leonardo
2021-08-27 12:02:02 +02:00
parent b27afbb18c
commit 21069d6479
4 changed files with 101 additions and 103 deletions
@@ -258,7 +258,7 @@ public class LodBufferBuilder
try
{
if (lodDim.doesDataExist(posToRender))
if (lodDim.doesDataExist(posToRender.clone()))
{
short[] lodData = lodDim.getData(posToRender);
short[][][] adjData = new short[2][2][];