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
+5 -1
View File
@@ -224,9 +224,13 @@ heptagon *createStep(heptagon *h, int d) {
crystal::create_step(h, d);
#endif
#if CAP_BT
if(!h->move(d) && binarytiling)
if(!h->move(d) && binarytiling && DIM == 2)
return binary::createStep(h, d);
#endif
#if CAP_BT && MAXDIM == 4
if(!h->move(d) && binarytiling && DIM == 3)
return binary::createStep3(h, d);
#endif
#if CAP_ARCM
if(!h->move(d) && archimedean) {
arcm::create_adjacent(h, d);