2d3d:: fixed INFDEEP on sphere

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:43:02 +02:00
1 parent 8bcf1c2b74
commit d3b2d7f371
1 file changed
+1 -1
+1 -1
View File
@@ -335,7 +335,7 @@ namespace geom3 {
BIRD = 1.20;
}
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();
WALL = lev_to_factor(wh);
FLOOR = lev_to_factor(0);