override public void createGeometry()
        {
            var block = getCityBlock();

            geometry = Ward.createAlleys(block,
                                         Mathf.Sqrt(block.square) * (1 + Random.value),
                                         0.1f + Random.value * 0.3f, 0.3f, // regular
                                         0.25f);                           // squares
        }
Exemple #2
0
        override public void createGeometry()
        {
            var block = getCityBlock();

            geometry = Ward.createAlleys(block, minSq, gridChaos, sizeChaos, emptyProb);

            if (!model.isEnclosed(patch))
            {
                filterOutskirts();
            }
        }