diff options
author | Esteban I. Ruiz Moreno <exio4.com@gmail.com> | 2013-03-31 00:30:32 -0300 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-08-10 12:18:25 +0200 |
commit | 2c31b79235dd83de753fce5890c5797e149048b8 (patch) | |
tree | 86dac00e356f00d89a48bde28b3b052214e8168c /src/camera.h | |
parent | c013c73f338b1c2227662458ebc650883f83271c (diff) | |
download | minetest-2c31b79235dd83de753fce5890c5797e149048b8.tar.gz minetest-2c31b79235dd83de753fce5890c5797e149048b8.tar.bz2 minetest-2c31b79235dd83de753fce5890c5797e149048b8.zip |
Add zoom, tweakable with zoom_fov, default key: Z (like optifine)
Diffstat (limited to 'src/camera.h')
-rw-r--r-- | src/camera.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/camera.h b/src/camera.h index ce46c3190..cb0e9686d 100644 --- a/src/camera.h +++ b/src/camera.h @@ -231,6 +231,7 @@ private: f32 m_cache_fall_bobbing_amount; f32 m_cache_view_bobbing_amount; f32 m_cache_fov; + f32 m_cache_zoom_fov; bool m_cache_view_bobbing; std::list<Nametag *> m_nametags; |