mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-16 13:24:08 +00:00
vertical_vector in same-in-same
This commit is contained in:
parent
6b262104fd
commit
839beabbc9
@ -1915,6 +1915,8 @@ EX hyperpoint vertical_vector() {
|
|||||||
if(gproduct && vid.fixed_yz) {
|
if(gproduct && vid.fixed_yz) {
|
||||||
return get_view_orientation() * lztangent(embedded_plane ? vid.wall_height : 1);
|
return get_view_orientation() * lztangent(embedded_plane ? vid.wall_height : 1);
|
||||||
}
|
}
|
||||||
|
if(embedded_plane && geom3::same_in_same())
|
||||||
|
return get_view_orientation() * lztangent(vid.wall_height);
|
||||||
if(embedded_plane && vid.fixed_yz && nonisotropic) {
|
if(embedded_plane && vid.fixed_yz && nonisotropic) {
|
||||||
return NLP * lztangent(vid.wall_height);
|
return NLP * lztangent(vid.wall_height);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user