mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-26 23:12:51 +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.wall_height *= -1;
|
||||||
vid.eye = 2 * vid.depth;
|
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;
|
if(pmodel == mdDisk) pmodel = mdPerspective;
|
||||||
swapmatrix(View);
|
swapmatrix(View);
|
||||||
swapmatrix(current_display->which_copy);
|
swapmatrix(current_display->which_copy);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user