1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 03:34:49 +00:00

setup for sphere embedded in product

This commit is contained in:
Zeno Rogue 2022-12-08 21:36:22 +01:00
parent 107cae8f5c
commit 689f64ed98

View File

@ -1257,6 +1257,11 @@ EX void switch_always3() {
vid.wall_height *= -1;
vid.eye = 2 * vid.depth;
}
if(msphere && spatial_embedding == seProduct) {
vid.depth = 0;
vid.wall_height = 2;
vid.eye = -2;
}
if(pmodel == mdDisk) pmodel = mdPerspective;
swapmatrix(View);
swapmatrix(current_display->which_copy);