mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-03 12:23:56 +00:00
shallow water is no longer glitched when the 3D settings are illegal
This commit is contained in:
parent
ce93910f0f
commit
742355433a
@ -1026,6 +1026,9 @@ EX namespace geom3 {
|
|||||||
ABODY = 1.08;
|
ABODY = 1.08;
|
||||||
AHEAD = 1.12;
|
AHEAD = 1.12;
|
||||||
BIRD = 1.20;
|
BIRD = 1.20;
|
||||||
|
SHALLOW = .95;
|
||||||
|
STUFF = 1;
|
||||||
|
LOWSKY = SKY = HIGH = HIGH2 = 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
INFDEEP = GDIM == 3 ? (sphere ? 90._deg : +5) : (euclid || sphere) ? 0.01 : lev_to_projection(0) * tanh(vid.camera);
|
INFDEEP = GDIM == 3 ? (sphere ? 90._deg : +5) : (euclid || sphere) ? 0.01 : lev_to_projection(0) * tanh(vid.camera);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user