mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 16:23:08 +00:00
fixed the floor patterns in non-bitrunc square grid
This commit is contained in:
1 parent
081913fc4e
commit
469530d321
2 files changed
+3
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user