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:
parent
107cae8f5c
commit
689f64ed98
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user