Add setting for near plane distance. (#6395)
authorRob Blanckaert <basicer@basicer.com>
Sat, 7 Oct 2017 13:11:48 +0000 (09:11 -0400)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 7 Oct 2017 13:11:48 +0000 (15:11 +0200)
commit3c93a56e16f03893f97b7d28b0a8a0e302cb55ca
treeb44d958848ac62e9bbd8713f5f89977fdd9dd4ec
parentf547452685b299712ff5aa15bf06b4cd6069deec
Add setting for near plane distance. (#6395)

* Allow setting the near plane

* - Add near_plane limit of 0.5 to prevent x-ray.
- Add more details to near_plane setting.
builtin/settingtypes.txt
src/camera.cpp
src/defaultsettings.cpp