mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-01 21:39:07 +02:00
minedmap/tile_renderer: avoid calling block_color() more often than necessary
Collect all biome indices/weights for a chunk and deduplicate using a hash map.
This commit is contained in:
parent
fb712cd2f5
commit
deb33814ee
3 changed files with 29 additions and 9 deletions
|
@ -20,6 +20,7 @@ image = { version = "0.24.5", default-features = false, features = ["png"] }
|
|||
indexmap = { version = "2.0.0", features = ["serde"] }
|
||||
itertools = "0.11.0"
|
||||
num-integer = "0.1.45"
|
||||
rustc-hash = "1.1.0"
|
||||
serde = "1.0.152"
|
||||
serde_json = "1.0.99"
|
||||
zstd = "0.12.3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue