mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
less aggressive backwall optimization in Solv
This commit is contained in:
parent
afa65ee525
commit
282ca884c4
@ -5137,7 +5137,7 @@ EX void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
if(abs(H[0]) <= 3 && abs(H[1]) <= 3 && abs(H[2]) <= 3 ) ;
|
if(abs(H[0]) <= 3 && abs(H[1]) <= 3 && abs(H[2]) <= 3 ) ;
|
||||||
else {
|
else {
|
||||||
hyperpoint H2 = inverse_exp(H, iLazy);
|
hyperpoint H2 = inverse_exp(H, iLazy);
|
||||||
for(hyperpoint& cpoint: clipping_planes) if((H2|cpoint) < -.2) return;
|
for(hyperpoint& cpoint: clipping_planes) if((H2|cpoint) < -.4) return;
|
||||||
}
|
}
|
||||||
noclipped++;
|
noclipped++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user