improvements to sphere flipping

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

No files matched your search

+2 -1
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