rogueviz::snow:: used hr::lerp to make it work in new compilers
This commit is contained in:
parent
22aefcfff6
commit
a4f7bc1ee6
|
@ -82,7 +82,7 @@ transmatrix random_snow_matrix(cell *c) {
|
|||
h[a] = randd() * 2 - 1;
|
||||
else {
|
||||
ld r = randd();
|
||||
h[co] = log(lerp(1, aer, r)) / log(aer) * 2 - 1;
|
||||
h[co] = log(hr::lerp(1, aer, r)) / log(aer) * 2 - 1;
|
||||
}
|
||||
}
|
||||
return bt::normalized_at(h);
|
||||
|
|
Loading…
Reference in New Issue