mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
removed incorrect optimization in 3D graphics
This commit is contained in:
parent
6a5a06c622
commit
37495105a5
@ -1634,7 +1634,8 @@ void celldrawer::draw_features_and_walls_3d() {
|
|||||||
if(pmodel == mdPerspective && !sphere && !quotient && !kite::in() && !nonisotropic && !hybri && !experimental && !nih) {
|
if(pmodel == mdPerspective && !sphere && !quotient && !kite::in() && !nonisotropic && !hybri && !experimental && !nih) {
|
||||||
if(a < 4 && among(geometry, gHoroTris, gBinary3) && celldistAlt(c) >= celldistAlt(centerover)) continue;
|
if(a < 4 && among(geometry, gHoroTris, gBinary3) && celldistAlt(c) >= celldistAlt(centerover)) continue;
|
||||||
else if(a < 2 && among(geometry, gHoroRec) && celldistAlt(c) >= celldistAlt(centerover)) continue;
|
else if(a < 2 && among(geometry, gHoroRec) && celldistAlt(c) >= celldistAlt(centerover)) continue;
|
||||||
else if(c->move(a)->master->distance > c->master->distance && c->master->distance > centerover->master->distance && !quotient) continue;
|
// this optimization is not correct, need to fix
|
||||||
|
// else if(c->move(a)->master->distance > c->master->distance && c->master->distance > centerover->master->distance && !quotient) continue;
|
||||||
}
|
}
|
||||||
else if(sol && in_perspective() && !nih && !asonov::in()) {
|
else if(sol && in_perspective() && !nih && !asonov::in()) {
|
||||||
ld b = vid.binary_width * log(2) / 2;
|
ld b = vid.binary_width * log(2) / 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user