asonov:: affected by binary_width

This commit is contained in:
Zeno Rogue 2019-11-09 12:00:44 +01:00
parent f99b52358e
commit 93e8d6f92a
3 changed files with 4 additions and 2 deletions

View File

@ -88,8 +88,8 @@ EX void prepare() {
transmatrix ieigen = inverse(eigen);
tx = point3(ieigen[0][0], ieigen[1][0], 0);
ty = point3(ieigen[0][1], ieigen[1][1], 0);
tx = point3(ieigen[0][0], ieigen[1][0], 0) * vid.binary_width;
ty = point3(ieigen[0][1], ieigen[1][1], 0) * vid.binary_width;
tz = -point3(0, 0, log(lambda[0]));
DEBB(DF_GEOM, ("tx = ", tx, " ty = ", ty, " tz = ", tz));

View File

@ -722,6 +722,7 @@ EX void showEuclideanMenu() {
#if CAP_TEXTURE
texture::config.remap();
#endif
if(asonov::in()) asonov::prepare();
};
});
extern void add_edit_wall_quality(char);

View File

@ -551,6 +551,7 @@ void geometry_information::prepare_basics() {
#if CAP_BT
if(binarytiling) hexvdist = rhexf = 1, tessf = 1, scalefactor = 1, crossf = hcrossf7;
if(geometry == gHoroRec || penrose || sol || nil || nih) hexvdist = rhexf = .5, tessf = .5, scalefactor = .5, crossf = hcrossf7/2;
if(binarytiling) scalefactor *= min<ld>(vid.binary_width, 1), crossf *= min<ld>(vid.binary_width, 1);
#endif
#if CAP_BT && MAXMDIM >= 4
if(binarytiling) binary::build_tmatrix();