1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-01 07:20:15 +00:00

binary_tiling_width parameter

This commit is contained in:
Zeno Rogue
2018-08-14 10:18:18 +02:00
parent c54d01b50c
commit eb57d160d0
5 changed files with 16 additions and 6 deletions

View File

@@ -148,7 +148,7 @@ namespace binary {
}
transmatrix parabolic(ld u) {
u = u / log(2);
u = u * vid.binary_width / log(2);
return transmatrix {{{-u*u/8+1, u/2, u*u/8}, {-u/2, 1, u/2}, {-u*u/8, u/2, u*u/8+1}}};
}