Display pitch angle in debug menu (#8321)
authorRagulan R <ragulan90@gmail.com>
Sun, 10 Mar 2019 10:16:27 +0000 (10:16 +0000)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sun, 10 Mar 2019 10:16:27 +0000 (11:16 +0100)
src/client/gameui.cpp

index 1f433e49a261436dc01333a6626ebbcf118d67f3..656705ff9a8b287b9607a89c58f8f4934c694207 100644 (file)
@@ -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) {