From 0e2b9d07eea30f0b988d28ad82c537e1379b05d0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 7 Jan 2023 12:55:12 +0100 Subject: [PATCH] set correct parameters for euc_in_nil and euc_in_sl2 --- geometry.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/geometry.cpp b/geometry.cpp index 328172ea..464663ba 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -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;