mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
Implement TODO
This commit is contained in:
parent
0b8dc02d2b
commit
9d620b924d
@ -912,11 +912,10 @@ void CZonePlacer::assignZones(CRandomGenerator * rand)
|
||||
for (int level = 0; level < levels; level++)
|
||||
{
|
||||
//Create different tiling for each level
|
||||
|
||||
auto vertices = penrose.generatePenroseTiling(zonesOnLevel[level].size(), rand);
|
||||
|
||||
// Assign zones to closest Penrose vertex
|
||||
// TODO: Count zones on a level exactly?
|
||||
|
||||
auto vertices = penrose.generatePenroseTiling(zones.size() / map.levels(), rand);
|
||||
|
||||
std::map<std::shared_ptr<Zone>, std::set<int3>> vertexMapping;
|
||||
|
||||
for (const auto & vertex : vertices)
|
||||
|
Loading…
x
Reference in New Issue
Block a user