summaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
authorEsteban I. Ruiz Moreno <exio4.com@gmail.com>2013-03-31 00:30:32 -0300
committerest31 <MTest31@outlook.com>2016-08-10 12:18:25 +0200
commit2c31b79235dd83de753fce5890c5797e149048b8 (patch)
tree86dac00e356f00d89a48bde28b3b052214e8168c /src/camera.h
parentc013c73f338b1c2227662458ebc650883f83271c (diff)
downloadminetest-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.h1
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;