refactor: migrate heightmap editor

This commit is contained in:
Azgaar 2022-07-09 14:16:57 +03:00
parent a97e7f44f6
commit a15f60150f
26 changed files with 103 additions and 80 deletions

View file

@ -1,6 +1,7 @@
import * as d3 from "d3";
import {getColorScheme, getHeightColor} from "utils/colorUtils";
import {round} from "utils/stringUtils";
export function drawHeightmap() {
terrs.selectAll("*").remove();