1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-21 02:19:44 +00:00

replaced product::product_sphere()

This commit is contained in:
Zeno Rogue
2019-09-12 14:24:02 +02:00
parent dbc95ed7a4
commit d1bf6fef5e
9 changed files with 19 additions and 16 deletions

View File

@@ -1411,9 +1411,9 @@ EX void optimizeview() {
if(prod) {
ld z = zlevel(tC0(View));
View = mscale(View, -z);
if(product::product_sphere()) View = centralsym * View;
if(in_s2xe()) View = centralsym * View;
hybrid::in_underlying_map(optimizeview);
if(product::product_sphere()) View = centralsym * View;
if(in_s2xe()) 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; }
View = mscale(View, z);