set correct parameters for euc_in_nil and euc_in_sl2

This commit is contained in:
Zeno Rogue 2023-01-07 12:55:12 +01:00
parent b7a4997509
commit 0e2b9d07ee
1 changed files with 4 additions and 0 deletions

View File

@ -1403,6 +1403,10 @@ EX void switch_always3() {
vid.wall_height *= -1;
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) {
vid.eye = inverted_embedding ? -vid.depth : vid.depth;
vid.depth = 0;