mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
2d3d:: fixed INFDEEP on sphere
This commit is contained in:
parent
8bcf1c2b74
commit
d3b2d7f371
@ -335,7 +335,7 @@ namespace geom3 {
|
|||||||
BIRD = 1.20;
|
BIRD = 1.20;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
INFDEEP = GDIM == 3 ? +10 : (euclid || sphere) ? 0.01 : lev_to_projection(0) * tanh(camera);
|
INFDEEP = GDIM == 3 ? (sphere ? M_PI/2 : +10) : (euclid || sphere) ? 0.01 : lev_to_projection(0) * tanh(camera);
|
||||||
ld wh = actual_wall_height();
|
ld wh = actual_wall_height();
|
||||||
WALL = lev_to_factor(wh);
|
WALL = lev_to_factor(wh);
|
||||||
FLOOR = lev_to_factor(0);
|
FLOOR = lev_to_factor(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user