1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

3d:: fixed optimizeview in sphere3

This commit is contained in:
? 2019-02-25 13:17:42 +01:00 committed by Zeno Rogue
parent 259e376909
commit f743a46010

View File

@ -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; i<viewctr.at->c7->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);