projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b492f8
)
Display pitch angle in debug menu (#8321)
author
Ragulan R
<ragulan90@gmail.com>
Sun, 10 Mar 2019 10:16:27 +0000
(10:16 +0000)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Sun, 10 Mar 2019 10:16:27 +0000
(11:16 +0100)
src/client/gameui.cpp
patch
|
blob
|
history
diff --git
a/src/client/gameui.cpp
b/src/client/gameui.cpp
index 1f433e49a261436dc01333a6626ebbcf118d67f3..656705ff9a8b287b9607a89c58f8f4934c694207 100644
(file)
--- 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) {