// Because of the fact that enclosed caves build walls around floors, the floors
 // along the boundary of the map get walls built around them. This method removes those walls.
 void PruneWallsAtGlobalSeams(int scale)
 {
     Assert.IsNotNull(wallMesh);
     if (DoGlobalSeamsExist())
     {
         int modulo = scale * chunkSize.Value;
         WallPruner.PruneModulo(wallMesh, modulo);
     }
 }
Ejemplo n.º 2
0
        // Because of the fact that enclosed caves build walls around floors instead of walls, the seam between two
        // floored chunks have walls generated on them. This method removes those walls.
        void PruneWallsAtGlobalSeams(int scale)
        {
            int modulo = scale * Map.maxSubmapSize;

            WallPruner.PruneModulo(wallMesh, modulo);
        }