mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 23:30:25 +00:00
3d:: pseudohept for 534
This commit is contained in:
parent
372a9503b6
commit
791851f8d5
3
reg3.cpp
3
reg3.cpp
@ -451,6 +451,9 @@ bool pseudohept(cell *c) {
|
|||||||
if(loop == 5 && face == 3)
|
if(loop == 5 && face == 3)
|
||||||
return abs(h[3]) > .99 || abs(h[0]) > .99 || abs(h[1]) > .99 || abs(h[2]) > .99;
|
return abs(h[3]) > .99 || abs(h[0]) > .99 || abs(h[1]) > .99 || abs(h[2]) > .99;
|
||||||
}
|
}
|
||||||
|
// chessboard pattern in 534
|
||||||
|
if(geometry == gSpace534)
|
||||||
|
return c->master->distance & 1;
|
||||||
if(hyperbolic) {
|
if(hyperbolic) {
|
||||||
heptagon *h = m->reg_gmatrix[c->master].first;
|
heptagon *h = m->reg_gmatrix[c->master].first;
|
||||||
return (h->zebraval == 1) && (h->distance & 1);
|
return (h->zebraval == 1) && (h->distance & 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user