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

This commit is contained in:
? authored and Zeno Rogue committed 2019-09-12 22:38:40 +02:00
1 parent 1f8510bc71
commit d08e58f404
17 files changed
+206 -230

No files matched your search

+5 -4
View File
@@ -5128,8 +5128,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
if(0);
#if CAP_BT
else if(binarytiling) {
#if DIM == 2
else if(binarytiling && DIM == 2) {
ld yx = log(2) / 2;
ld yy = yx;
ld xx = 1 / sqrt(2)/2;
@@ -5143,9 +5142,11 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
horizontal(yy, 2*xx, xx, 4, binary::bd_up_right);
horizontal(yy, xx, -xx, 8, binary::bd_up);
horizontal(yy, -xx, -2*xx, 4, binary::bd_up_left);
#else
}
#endif
#if CAP_BT && MAXDIM == 4
else if(binarytiling && DIM == 3) {
binary::queuecube(V, 1, 0xC0C0C080, 0);
#endif
}
#endif
else if(isWarped(c) && has_nice_dual()) {