mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
Final update for zone placer.
This commit is contained in:
parent
0dbfee0edb
commit
53b3ea8d97
@ -42,10 +42,10 @@ void CZonePlacer::placeZones(const CMapGenOptions * mapGenOptions, CRandomGenera
|
||||
{
|
||||
//gravity-based algorithm
|
||||
|
||||
const float gravityConstant = 5e-3;
|
||||
const float stiffnessConstant = 1e-3;
|
||||
const float gravityConstant = 1e-2;
|
||||
const float stiffnessConstant = 4e-3;
|
||||
float zoneScale = 0.5f; //zones starts small and then inflate
|
||||
const float inflateModifier = 1.02;
|
||||
const float inflateModifier = 1.01;
|
||||
|
||||
logGlobal->infoStream() << "Starting zone placement";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user