1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-18 06:30:41 +00:00

fixed 'keep Y' in twisted non-sphere

This commit is contained in:
Zeno Rogue 2024-08-21 19:20:47 +02:00
parent 9db5022d54
commit cd364831f8

View File

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