1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 23:49:53 +00:00

in vertical_vector, only 3D euclid

This commit is contained in:
Zeno Rogue 2024-06-29 10:58:29 +02:00
parent cbf8167d8f
commit 003529f20e

View File

@ -2049,7 +2049,7 @@ EX hyperpoint vertical_vector() {
if(((cgflags & qSTRETCHABLE) || (mtwisted && sphere)) && vid.fixed_yz) { if(((cgflags & qSTRETCHABLE) || (mtwisted && sphere)) && vid.fixed_yz) {
return stretch::itranslate(View * C0) * View * lztangent(1); return stretch::itranslate(View * C0) * View * lztangent(1);
} }
if((nil || euclid || sol || nih) && vid.fixed_yz) { if((nil || (euclid && GDIM == 3) || sol || nih) && vid.fixed_yz) {
return View * lztangent(1); return View * lztangent(1);
} }
if(hyperbolic && bt::in() && vid.fixed_yz) { if(hyperbolic && bt::in() && vid.fixed_yz) {