mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix(#906): ice to follow expected size, reduce ice elements in general
This commit is contained in:
parent
89d61fda5f
commit
f018256f7a
5 changed files with 29 additions and 27 deletions
|
|
@ -20,3 +20,7 @@ function lim(v) {
|
|||
function normalize(val, min, max) {
|
||||
return minmax((val - min) / (max - min), 0, 1);
|
||||
}
|
||||
|
||||
function lerp(a, b, t) {
|
||||
return a + (b - a) * t;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue