fixed a small generation errore,
Now cut and gen tree are automatic
This commit is contained in:
@@ -104,6 +104,18 @@ public class DetailDistanceUtil
|
||||
,minDetailLevel);
|
||||
}
|
||||
|
||||
|
||||
public static byte getDistanceTreeCutInverse(int distance)
|
||||
{
|
||||
return getDistanceRenderingInverse((int) (distance * treeCutMultiplier));
|
||||
}
|
||||
|
||||
|
||||
public static byte getDistanceTreeGenInverse(int distance)
|
||||
{
|
||||
return getDistanceRenderingInverse((int) (distance * treeGenMultiplier));
|
||||
}
|
||||
|
||||
public static int getDistanceGeneration(int detail)
|
||||
{
|
||||
if (detail == maxDetail)
|
||||
|
||||
Reference in New Issue
Block a user