small fixes

This commit is contained in:
Leonardo
2021-09-29 02:38:19 +02:00
parent e5c1e67369
commit 22b7e46d39
2 changed files with 6 additions and 4 deletions
@@ -36,10 +36,10 @@ public enum HorizontalQuality
LOW(1.5f),
/** Lods expand in three dimension */
MEDIUM(2f),
MEDIUM(2.0f),
/** Lods expand in three dimension */
HIGH(Math.E);
HIGH(2.2f);
public double quadraticBase;
@@ -2,6 +2,8 @@ package com.seibel.lod.objects;
import com.seibel.lod.util.LevelPosUtil;
import javax.swing.*;
/**
* Holds the levelPos that need to be generated.
* TODO is that correct?
@@ -49,8 +51,8 @@ public class PosToGenerateContainer
if(farSize < farPosToGenerate.length)
farSize++;
index = farSize;
index = farSize - 1;
while (index > 0 && LevelPosUtil.compareDistance(distance, farPosToGenerate[index - 1][3]) <= 0)
{
farPosToGenerate[index][0] = farPosToGenerate[index - 1][0];