Remove unneeded TODOs and unused code

This commit is contained in:
James Seibel
2021-08-24 18:31:42 -05:00
parent cddd239fc5
commit a0dcde48ae
5 changed files with 0 additions and 23 deletions
@@ -17,7 +17,6 @@
*/
package com.seibel.lod.builders.lodTemplates;
import com.seibel.lod.enums.LodDetail;
import com.seibel.lod.objects.LodDataPoint;
import com.seibel.lod.objects.LodDimension;
@@ -46,7 +45,6 @@ public class DynamicLodTemplate extends AbstractLodTemplate
@Override
public int getBufferMemoryForSingleNode(int detailLevel)
{
// TODO Auto-generated method stub
return 0;
}
}
@@ -17,7 +17,6 @@
*/
package com.seibel.lod.builders.lodTemplates;
import com.seibel.lod.enums.LodDetail;
import com.seibel.lod.objects.LodDataPoint;
import com.seibel.lod.objects.LodDimension;
@@ -44,7 +43,6 @@ public class TriangularLodTemplate extends AbstractLodTemplate
@Override
public int getBufferMemoryForSingleNode(int detailLevel)
{
// TODO Auto-generated method stub
return 0;
}
}
@@ -293,8 +293,6 @@ public class LodNodeGenWorker implements IWorker
{
if (simulateHeight)
{
// TODO use the biomes around each block to smooth out the transition
// these heights are of course aren't super accurate,
// they are just to simulate height data where there isn't any
switch(chunk.getBiomes().getNoiseBiome(x >> 2, seaLevel >> 2, z >> 2).getBiomeCategory())
@@ -36,7 +36,6 @@ import net.minecraft.util.math.ChunkPos;
import net.minecraft.world.DimensionType;
import net.minecraft.world.server.ServerChunkProvider;
import net.minecraft.world.server.ServerWorld;
import org.lwjgl.system.CallbackI;
/**
* This object holds all loaded LOD regions
@@ -704,20 +703,6 @@ public class LodDimension
}
/**
* TODO Double check that this method works as expected
* <p>
* Returns how many non-null LodChunks
* are stored in this LodDimension.
*/
public int getNumberOfLods()
{
/**TODO **/
int numbLods = 0;
return numbLods;
}
public int getWidth()
{
if (regions != null)
@@ -265,8 +265,6 @@ public class ClientProxy
// do the dimensions need to change in size?
if (lodBuilder.defaultDimensionWidthInRegions != newWidth || recalculateWidths)
{
// TODO make this async
// update the dimensions to fit the new width
lodWorld.resizeDimensionRegionWidth(newWidth);
lodBuilder.defaultDimensionWidthInRegions = newWidth;