1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 04:17:39 +00:00

fixed the floor patterns in non-bitrunc square grid

This commit is contained in:
Zeno Rogue
2018-05-08 01:59:57 +02:00
parent 081913fc4e
commit 469530d321
2 changed files with 3 additions and 1 deletions

View File

@@ -63,6 +63,7 @@ void precalc() {
hexvdist = hexf;
hepvdist = hexf;
rhexf = crossf * sqrt(2) / 2;
tessf = crossf;
}
else if(a4) {
ld s2 = sqrt(2);
@@ -75,6 +76,7 @@ void precalc() {
hexvdist = crossf * hypot(1-xx, xx);
hepvdist = crossf;
rhexf = hexf;
tessf = crossf;
}
else {
crossf = .5;