mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-02 14:04:30 +00:00
improvements to sphere flipping
This commit is contained in:
1 parent
0770a11164
commit
42f96b768c
5 files changed
+12
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user