3d:: Euclidean tori

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:42:59 +02:00
1 parent 2e1f63e086
commit c0145c0d9c
8 files changed
+282 -19

No files matched your search

+2
View File
@@ -1189,6 +1189,8 @@ void optimizeview() {
int i1 = i * DUALMUL;
heptagon *h2 = createStep(viewctr.at, i1);
transmatrix T = currentmap->relative_matrix(h2, viewctr.at);
if(euclid && DIM == 3)
T = euclid3::move_matrix(i);
hyperpoint H = View * tC0(T);
ld quality = hdist0(H);
if(quality < best) best = quality, turn = i1, TB = T;