1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-21 12:43:18 +00:00

more safe clipping in Sol

This commit is contained in:
Zeno Rogue 2020-04-29 15:19:25 +02:00
parent d0ac2612d5
commit 1f31c2cd7a

View File

@ -3669,7 +3669,7 @@ bool celldrawer::cell_clipped() {
if(abs(H[0]) <= 3 && abs(H[1]) <= 3 && abs(H[2]) <= 3 ) ;
else {
hyperpoint H2 = inverse_exp(H, pQUICK);
for(hyperpoint& cpoint: clipping_planes) if((H2|cpoint) < -.4) return true;
for(hyperpoint& cpoint: clipping_planes) if((H2|cpoint) < -.6) return true;
}
noclipped++;
}