mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-05 18:11:23 +01:00
feat: migrate ice data to new data model and update version to 1.110.0
This commit is contained in:
parent
7f99323d22
commit
b1a8c042e6
3 changed files with 75 additions and 8 deletions
|
|
@ -14,6 +14,7 @@ function drawIce() {
|
|||
.attr("points", glacier.points)
|
||||
.attr("type", "iceShield")
|
||||
.attr("data-index", index)
|
||||
.attr("transform", glacier.offset ? `translate(${glacier.offset[0]},${glacier.offset[1]})` : null)
|
||||
.attr("class", "glacier");
|
||||
});
|
||||
|
||||
|
|
@ -25,6 +26,7 @@ function drawIce() {
|
|||
.attr("cell", iceberg.cellId)
|
||||
.attr("size", iceberg.size)
|
||||
.attr("data-index", index)
|
||||
.attr("transform", iceberg.offset ? `translate(${iceberg.offset[0]},${iceberg.offset[1]})` : null)
|
||||
.attr("class", "iceberg");
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue