1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

fixed incorrect clipping in H2xE

This commit is contained in:
Zeno Rogue 2021-04-07 21:04:25 +02:00
parent c5a40f9f68
commit 0c1086f81f

View File

@ -3701,7 +3701,7 @@ EX bool clip_checked = false;
void make_clipping_planes() { void make_clipping_planes() {
#if MAXMDIM >= 4 #if MAXMDIM >= 4
clip_checked = false; clip_checked = false;
if(!frustum_culling || PIU(sphere) || experimental || vid.stereo_mode == sODS || panini_alpha || stereo_alpha) return; if(!frustum_culling || PIU(sphere) || experimental || vid.stereo_mode == sODS || panini_alpha || stereo_alpha || prod) return;
if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic && !in_s2xe()) if(WDIM == 3 && pmodel == mdPerspective && !nonisotropic && !in_s2xe())
threshold = sin_auto(cgi.corner_bonus), xyz_threshold = 0, clip_checked = true; threshold = sin_auto(cgi.corner_bonus), xyz_threshold = 0, clip_checked = true;