3d:: getHemisphere works nicely; disabled wall removing in sphere3 crossroads

This commit is contained in:
Zeno Rogue 2019-03-02 01:40:54 +01:00
parent e0fa2c2e1c
commit b5c7df4b11
2 changed files with 6 additions and 0 deletions

View File

@ -3337,6 +3337,8 @@ bool makeEmpty(cell *c) {
c->wall = waBoat;
else if(c->wall == waFreshGrave && bounded)
;
else if(c->wall == waBarrier && sphere && DIM == 3)
;
else if(isReptile(c->wall))
c->wparam = reptilemax();
else if(c->wall == waAncientGrave && bounded)

View File

@ -449,6 +449,10 @@ int getHemisphere(heptagon *h, int which) {
int getHemisphere(cell *c, int which) {
if(euwrap) return 0;
if(DIM == 3) {
ld z = sphere3::vertices120[c->master->zebraval][which];
return int(z * 6 + 10.5) - 10;
}
if(which == 0 && GOLDBERG && has_nice_dual()) {
set<cell*> visited;
vector<cell*> q;