Ejemplo n.º 1
0
        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
        }
Ejemplo n.º 2
0
        override public void createGeometry()
        {
            var block = getCityBlock();

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

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