mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-12 09:59:05 +02:00
minedmap: store region list in BTreeSet
We want to have a sorted list in the end anyways to make metadata generation deterministic, and we don't have to worry about deduplication of coordinates when generating mipmap tile lists.
This commit is contained in:
parent
e5c96ecb99
commit
b53d34da3d
3 changed files with 7 additions and 7 deletions
|
@ -24,7 +24,7 @@ fn main() -> Result<()> {
|
|||
let config = Config::new(args);
|
||||
|
||||
let regions = RegionProcessor::new(&config).run()?;
|
||||
TileRenderer::new(&config).run(®ions)?;
|
||||
TileRenderer::new(&config).run(regions.iter().copied())?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue