3d:: 2D/3D is now selectable at runtime

This commit is contained in:
?
2019-09-12 22:38:40 +02:00
committed by Zeno Rogue
parent 1f8510bc71
commit d08e58f404
17 changed files with 206 additions and 230 deletions
+3 -3
View File
@@ -1868,9 +1868,9 @@ int celldistance(cell *c1, cell *c2) {
return 64;
}
#if DIM == 3
if(binarytiling) return binary::celldistance(c1, c2);
#endif
if(binarytiling && DIM == 3)
return binary::celldistance3(c1, c2);
return hyperbolic_celldistance(c1, c2);
}