mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-22 15:17:20 +00:00
field:: quick distance computations in 3D
This commit is contained in:
1 parent
9d12289933
commit
7038df605c
3 files changed
+29
-9
No files matched your search
@@ -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