From 3b1b263c95be59409d0c0d00c3f43677994c31cb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 15 Dec 2022 10:03:11 +0100 Subject: [PATCH] fixed the variants of binary tiling in embedded_plane --- geometry.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index 77687ca1..22ebabf2 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -711,9 +711,6 @@ void geometry_information::prepare_basics() { if(geometry == gHoroRec || kite::in() || sol || nil || nih) hexvdist = rhexf = .5, tessf = .5, scalefactor = .5, crossf = hcrossf7/2; if(bt::in()) scalefactor *= min(vid.binary_width, 1), crossf *= min(vid.binary_width, 1); #endif - #if CAP_BT && MAXMDIM >= 4 - if(bt::in()) bt::build_tmatrix(); - #endif #if MAXMDIM >= 4 if(reg3::in()) reg3::generate(); if(euc::in(3)) euc::generate(); @@ -819,6 +816,10 @@ void geometry_information::prepare_basics() { geom3::light_flip(false); + #if CAP_BT && MAXMDIM >= 4 + if(bt::in()) bt::build_tmatrix(); + #endif + prepare_compute3(); if(hyperbolic && &currfp != &fieldpattern::fp_invalid) currfp.analyze();