mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-06 03:49:03 +00:00
field:: quick distance computations in 3D
This commit is contained in:
2
cell.cpp
2
cell.cpp
@@ -983,7 +983,7 @@ EX int celldistance(cell *c1, cell *c2) {
|
||||
if(hybri) return hybrid::celldistance(c1, c2);
|
||||
|
||||
#if CAP_FIELD
|
||||
if(geometry == gFieldQuotient && !GOLDBERG && WDIM == 2)
|
||||
if(geometry == gFieldQuotient && !GOLDBERG)
|
||||
return currfp.getdist(fieldpattern::fieldval(c1), fieldpattern::fieldval(c2));
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user