mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-15 17:54:48 +00:00
fixed the roof (hiding incorrectly) in hyp_in_solnih
This commit is contained in:
parent
d623593392
commit
534448967f
@ -5074,6 +5074,7 @@ EX void make_actual_view() {
|
|||||||
}
|
}
|
||||||
camera_level = asin_auto(tC0(view_inverse(actual_view_transform * View))[2]);
|
camera_level = asin_auto(tC0(view_inverse(actual_view_transform * View))[2]);
|
||||||
if(geom3::euc_in_nil()) camera_level = tC0(view_inverse(actual_view_transform * View))[1];
|
if(geom3::euc_in_nil()) camera_level = tC0(view_inverse(actual_view_transform * View))[1];
|
||||||
|
if(geom3::hyp_in_solnih()) camera_level = tC0(view_inverse(actual_view_transform * View))[0];
|
||||||
if(moved_center()) camera_level--;
|
if(moved_center()) camera_level--;
|
||||||
camera_sign = cgi.FLOOR > cgi.WALL;
|
camera_sign = cgi.FLOOR > cgi.WALL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user