1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 02:58:05 +00:00

improvements to sphere flipping

This commit is contained in:
Zeno Rogue
2022-12-04 14:48:12 +01:00
parent 0770a11164
commit 42f96b768c
5 changed files with 12 additions and 9 deletions

View File

@@ -5030,7 +5030,8 @@ EX bool nonisotropic_weird_transforms;
EX void make_actual_view() {
sphereflip = Id;
if(sphereflipped()) sphereflip[LDIM][LDIM] = -1;
sphere_flipped = flip_sphere();
if(sphere_flipped) sphereflip[LDIM][LDIM] = -1;
actual_view_transform = sphereflip;
if(vid.yshift && WDIM == 2) actual_view_transform = ypush(vid.yshift) * actual_view_transform;
#if MAXMDIM >= 4