mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-30 19:04:51 +00:00
set correct parameters for euc_in_nil and euc_in_sl2
This commit is contained in:
parent
b7a4997509
commit
0e2b9d07ee
@ -1403,6 +1403,10 @@ EX void switch_always3() {
|
|||||||
vid.wall_height *= -1;
|
vid.wall_height *= -1;
|
||||||
vid.eye = -2 * vid.depth;
|
vid.eye = -2 * vid.depth;
|
||||||
}
|
}
|
||||||
|
if(euc_in_nil() || euc_in_sl2()) {
|
||||||
|
vid.depth = 0;
|
||||||
|
vid.eye = vid.wall_height / 2;
|
||||||
|
}
|
||||||
if(euc_in_hyp() && spatial_embedding == seMuchLowerCurvature) {
|
if(euc_in_hyp() && spatial_embedding == seMuchLowerCurvature) {
|
||||||
vid.eye = inverted_embedding ? -vid.depth : vid.depth;
|
vid.eye = inverted_embedding ? -vid.depth : vid.depth;
|
||||||
vid.depth = 0;
|
vid.depth = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user