fixed the floor patterns in non-bitrunc square grid

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

No files matched your search

+2
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;