fixed fixed_YZ in euc_in_sl2

This commit is contained in:
Zeno Rogue 2023-01-07 18:56:12 +01:00
parent e4839a19b7
commit f02073a35f
1 changed files with 4 additions and 0 deletions

View File

@ -1910,6 +1910,10 @@ EX hyperpoint vertical_vector() {
}
if(embedded_plane && geom3::same_in_same())
return get_view_orientation() * lztangent(vid.wall_height);
if(geom3::euc_in_sl2()) {
transmatrix Rot = View * map_relative_push(inverse(View) * C0);
return Rot * lztangent(vid.wall_height);
}
if(embedded_plane && vid.fixed_yz && nonisotropic) {
return NLP * lztangent(vid.wall_height);
}