1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 22:23:18 +00:00

fixup: far clipping plane edits the correct parameter

This commit is contained in:
Zeno Rogue 2019-03-21 19:14:31 +01:00
parent 076e1f2977
commit d9317dcae7

View File

@ -774,7 +774,7 @@ namespace conformal {
});
dialog::addSelItem(XLAT("far clipping plane"), fts(clip_min), 'C');
dialog::add_action([cliphelp] () {
dialog::editNumber(clip_max, -10, 10, 0.2, 1, XLAT("far clipping plane"),
dialog::editNumber(clip_min, -10, 10, 0.2, -1, XLAT("far clipping plane"),
cliphelp + XLAT("Objects with Z coordinate "
"smaller than this parameter are not shown; it also affects the fog effect"
" (near clipping plane = 0% fog, far clipping plane = 100% fog)."));