updated some TODO's
This commit is contained in:
@@ -582,7 +582,7 @@ public class LodBuilder
|
||||
|
||||
|
||||
// add to the running averages
|
||||
count = colorMultiplier + count; // TODO shouldn't colorMultiplier be multiplied by?
|
||||
count += colorMultiplier;
|
||||
alpha += ColorUtil.getAlpha(color) * colorMultiplier;
|
||||
red += ColorUtil.getBlue(color) * colorMultiplier;
|
||||
green += ColorUtil.getGreen(color) * colorMultiplier;
|
||||
|
||||
@@ -170,7 +170,7 @@ public class LodNodeGenWorker implements IWorker
|
||||
// only generate LodChunks if they can
|
||||
// be added to the current LodDimension
|
||||
|
||||
/* TODO i must disable this if, i will find a way to replace it */
|
||||
/* TODO I must disable this 'if', if I will find a way to replace it */
|
||||
if (lodDim.regionIsInRange(pos.x / LodUtil.REGION_WIDTH_IN_CHUNKS, pos.z / LodUtil.REGION_WIDTH_IN_CHUNKS))
|
||||
{
|
||||
// long startTime = System.currentTimeMillis();
|
||||
@@ -377,7 +377,7 @@ public class LodNodeGenWorker implements IWorker
|
||||
|
||||
lodBuilder.generateLodNodeFromChunk(lodDim, chunk, new LodBuilderConfig(DistanceGenerationMode.SURFACE));
|
||||
|
||||
/**TODO if we want to use Biome utils and terrain utils for overworld
|
||||
/*TODO if we want to use Biome utils and terrain utils for overworld
|
||||
* lodBuilder.generateLodNodeFromChunk(lodDim, pos ,detailLevel, serverWorld.getSeed());*/
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,8 @@ public class PosToRenderContainer
|
||||
private int regionPosZ;
|
||||
private int numberOfPosToRender;
|
||||
private int[] posToRender;
|
||||
/*TODO this population matrix could be converted to boolean to improve memory use*/
|
||||
/*TODO this population matrix could be converted to boolean to improve memory use
|
||||
* no since bools are stored as bytes anyway - cola*/
|
||||
private byte[][] population;
|
||||
|
||||
public PosToRenderContainer(byte minDetail, int regionPosX, int regionPosZ)
|
||||
|
||||
@@ -111,7 +111,9 @@ public class SingleLevelContainer implements LevelContainer
|
||||
{
|
||||
posX = LevelPosUtil.getRegionModule(detailLevel, posX);
|
||||
posZ = LevelPosUtil.getRegionModule(detailLevel, posZ);
|
||||
// TODO Improve this using a thread map to long[]
|
||||
/* TODO Improve this using a thread map to long[]
|
||||
* actually single level stuff is already kinda deprecated - cola*/
|
||||
|
||||
return dataContainer[posX][posZ];
|
||||
}
|
||||
|
||||
@@ -120,7 +122,8 @@ public class SingleLevelContainer implements LevelContainer
|
||||
{
|
||||
posX = LevelPosUtil.getRegionModule(detailLevel, posX);
|
||||
posZ = LevelPosUtil.getRegionModule(detailLevel, posZ);
|
||||
// TODO Improve this using a thread map to long[]
|
||||
/* TODO Improve this using a thread map to long[]
|
||||
* actually single level stuff is already kinda deprecated - cola*/
|
||||
return dataContainer[posX][posZ];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user