1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-19 19:39:43 +00:00

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

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