summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRagulan R <ragulan90@gmail.com>2019-03-10 10:16:27 +0000
committerSmallJoker <SmallJoker@users.noreply.github.com>2019-03-10 11:16:27 +0100
commitc8914664a3dcb9bc1fc015b1ca76d2196a39de1d (patch)
treee53d64a9571cd57f334e745204ced71a3eec0bad
parent0b492f82f77eb121d0c9af66ddf5e86f3ebbc876 (diff)
downloadminetest-c8914664a3dcb9bc1fc015b1ca76d2196a39de1d.tar.gz
minetest-c8914664a3dcb9bc1fc015b1ca76d2196a39de1d.tar.bz2
minetest-c8914664a3dcb9bc1fc015b1ca76d2196a39de1d.zip
Display pitch angle in debug menu (#8321)
-rw-r--r--src/client/gameui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp
index 1f433e49a..656705ff9 100644
--- a/src/client/gameui.cpp
+++ b/src/client/gameui.cpp
@@ -128,6 +128,7 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_
<< ", " << (player_position.Z / BS)
<< "), yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "° "
<< yawToDirectionString(cam.camera_yaw)
+ << ", pitch: " << (wrapDegrees_180(cam.camera_pitch)) << "°"
<< ", seed: " << ((u64)client->getMapSeed());
if (pointed_old.type == POINTEDTHING_NODE) {