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:
@@ -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