mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed optimizeview in S2xE
This commit is contained in:
parent
3e6e1cd6ed
commit
85ea29e2df
@ -1411,7 +1411,9 @@ EX void optimizeview() {
|
|||||||
if(prod) {
|
if(prod) {
|
||||||
ld z = zlevel(tC0(View));
|
ld z = zlevel(tC0(View));
|
||||||
View = mscale(View, -z);
|
View = mscale(View, -z);
|
||||||
|
if(product::product_sphere()) View = centralsym * View;
|
||||||
hybrid::in_underlying_map(optimizeview);
|
hybrid::in_underlying_map(optimizeview);
|
||||||
|
if(product::product_sphere()) View = centralsym * View;
|
||||||
if(z > cgi.plevel / 2) { hybrid::current_view_level--; z -= cgi.plevel; }
|
if(z > cgi.plevel / 2) { hybrid::current_view_level--; z -= cgi.plevel; }
|
||||||
if(z < -cgi.plevel / 2) { hybrid::current_view_level++; z += cgi.plevel; }
|
if(z < -cgi.plevel / 2) { hybrid::current_view_level++; z += cgi.plevel; }
|
||||||
View = mscale(View, z);
|
View = mscale(View, z);
|
||||||
|
Loading…
Reference in New Issue
Block a user