mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-04 15:53:00 +00:00
3d:: reg3:: distances and alt-distances
This commit is contained in:
2
cell.cpp
2
cell.cpp
@@ -439,7 +439,7 @@ int celldistAlt(cell *c) {
|
||||
#if MAXMDIM == 4
|
||||
if(euclid && DIM == 3) return euclid3::dist_alt(c);
|
||||
#endif
|
||||
if(hyperbolic && DIM == 3) return reg3::dist_alt(c);
|
||||
if(hyperbolic && DIM == 3) return reg3::altdist(c->master);
|
||||
if(!c->master->alt) return 0;
|
||||
#if CAP_IRR
|
||||
if(IRREGULAR) return irr::celldist(c, true);
|
||||
|
||||
Reference in New Issue
Block a user