From 839beabbc9f635f5ec946b5bde31b6412e14bd59 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 15 Dec 2022 18:20:13 +0100 Subject: [PATCH] vertical_vector in same-in-same --- hypgraph.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index cdcf6821..07672c5c 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -1915,6 +1915,8 @@ EX hyperpoint vertical_vector() { if(gproduct && vid.fixed_yz) { 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) { return NLP * lztangent(vid.wall_height); }