(cfg: Config, tilemap: np.ndarray, land_mask: np.ndarray)
| 726 | |
| 727 | |
| 728 | def cluster(cfg: Config, tilemap: np.ndarray, land_mask: np.ndarray) -> np.ndarray: |
| 729 | out = tilemap |
| 730 | for i in range(max(0, int(cfg.cluster_passes))): |
| 731 | out = cluster_once(cfg, out, land_mask, f"land{i}") |
| 732 | return out |
| 733 | |
| 734 | |
| 735 | def add_dunes_in_sand_bodies(cfg: Config, tilemap: np.ndarray, land_mask: np.ndarray) -> np.ndarray: |
no test coverage detected