SteamWar/BauSystem
Archiviert
13
0

Fix Tracer maxSize Optimization

Dieser Commit ist enthalten in:
jojo 2020-08-30 03:06:22 +02:00
Ursprung 6745dfe3c1
Commit 0b13700a3a

Datei anzeigen

@ -281,7 +281,7 @@ public class ShowManager {
if (showSelection == ShowSelection.ALL) size = TraceManager.get().size();
if (showSelection == ShowSelection.SELECTIVE) size = selected.size();
if (size == 0) return maxRadius;
if (size >= 525) return minRadius;
if (size >= 950) return minRadius;
double slope = -(size / slopeHeight) + 85;
return Math.min(Math.max(slope, minRadius), maxRadius);