field:: quick distance computations in 3D

This commit is contained in:
Zeno Rogue committed 2020-01-16 17:13:57 +01:00
1 parent 9d12289933
commit 7038df605c
3 files changed
+29 -9

No files matched your search

+1 -1
View File
@@ -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