mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
More iterations, higher gravity constant for better results.
This commit is contained in:
parent
55d7d7b9b5
commit
09b493681b
@ -26,10 +26,10 @@ class CRandomGenerator;
|
||||
|
||||
CZonePlacer::CZonePlacer(RmgMap & map)
|
||||
: width(0), height(0), scaleX(0), scaleY(0), mapSize(0),
|
||||
gravityConstant(5e-4f),
|
||||
gravityConstant(1e-3f),
|
||||
stiffnessConstant(3e-3f),
|
||||
stifness(0),
|
||||
stiffnessIncreaseFactor(1.05f),
|
||||
stiffnessIncreaseFactor(1.03f),
|
||||
bestTotalDistance(1e10),
|
||||
bestTotalOverlap(1e10),
|
||||
map(map)
|
||||
|
Loading…
Reference in New Issue
Block a user