mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
3d:: fixed switching to mdPerspsective
This commit is contained in:
parent
f399a8c980
commit
1521af65fe
@ -1197,7 +1197,7 @@ void set_geometry(eGeometry target) {
|
|||||||
#if CAP_BT
|
#if CAP_BT
|
||||||
if(geometry == gBinaryTiling || DIM == 3) variation = eVariation::pure;
|
if(geometry == gBinaryTiling || DIM == 3) variation = eVariation::pure;
|
||||||
#endif
|
#endif
|
||||||
if(DIM == 3 && old_DIM == 3 && pmodel == mdDisk) pmodel = mdPerspective;
|
if(DIM == 3 && old_DIM == 2 && pmodel == mdDisk) pmodel = mdPerspective;
|
||||||
if(DIM == 2 && pmodel == mdPerspective) pmodel = mdDisk;
|
if(DIM == 2 && pmodel == mdPerspective) pmodel = mdDisk;
|
||||||
|
|
||||||
need_reset_geometry = true;
|
need_reset_geometry = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user