mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-24 18:04:28 +00:00
setup for sphere embedded in product
This commit is contained in:
1 parent
107cae8f5c
commit
689f64ed98
1 file changed
+5
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user