mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-30 14:22:48 +00:00
3d:: fixed optimizeview in sphere3
This commit is contained in:
parent
259e376909
commit
f743a46010
@ -1109,7 +1109,7 @@ void optimizeview() {
|
|||||||
if(0) ;
|
if(0) ;
|
||||||
|
|
||||||
#if CAP_BT || CAP_ARCM || MAXDIM == 4
|
#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));
|
turn = -1, best = hdist0(tC0(View));
|
||||||
for(int i=0; i<viewctr.at->c7->type; i++) {
|
for(int i=0; i<viewctr.at->c7->type; i++) {
|
||||||
int i1 = i * DUALMUL;
|
int i1 = i * DUALMUL;
|
||||||
@ -1120,6 +1120,7 @@ void optimizeview() {
|
|||||||
#endif
|
#endif
|
||||||
#if MAXDIM == 4
|
#if MAXDIM == 4
|
||||||
if(euclid && DIM == 3) T = euclid3::relative_matrix(h2, viewctr.at);
|
if(euclid && DIM == 3) T = euclid3::relative_matrix(h2, viewctr.at);
|
||||||
|
if(sphere && DIM == 3) T = sphere3::relative_matrix(h2, viewctr.at);
|
||||||
#endif
|
#endif
|
||||||
#if CAP_ARCM
|
#if CAP_ARCM
|
||||||
if(archimedean) T = arcm::relative_matrix(h2, viewctr.at);
|
if(archimedean) T = arcm::relative_matrix(h2, viewctr.at);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user