From f743a46010172d5efd421d6886e3474ea7fb70ed Mon Sep 17 00:00:00 2001 From: ? Date: Mon, 25 Feb 2019 13:17:42 +0100 Subject: [PATCH] 3d:: fixed optimizeview in sphere3 --- hypgraph.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 637ea7d4..127bdb46 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1109,7 +1109,7 @@ void optimizeview() { if(0) ; #if CAP_BT || CAP_ARCM || MAXDIM == 4 - else if(binarytiling || archimedean || (euclid && DIM == 3)) { + else if(binarytiling || archimedean || DIM == 3) { turn = -1, best = hdist0(tC0(View)); for(int i=0; ic7->type; i++) { int i1 = i * DUALMUL; @@ -1120,6 +1120,7 @@ void optimizeview() { #endif #if MAXDIM == 4 if(euclid && DIM == 3) T = euclid3::relative_matrix(h2, viewctr.at); + if(sphere && DIM == 3) T = sphere3::relative_matrix(h2, viewctr.at); #endif #if CAP_ARCM if(archimedean) T = arcm::relative_matrix(h2, viewctr.at);