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:
@@ -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