Display pitch angle in debug menu (#8321)

master
Ragulan R 2019-03-10 10:16:27 +00:00 committed by SmallJoker
parent 0b492f82f7
commit c8914664a3
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_
<< ", " << (player_position.Z / BS) << ", " << (player_position.Z / BS)
<< "), yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "° " << "), yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "° "
<< yawToDirectionString(cam.camera_yaw) << yawToDirectionString(cam.camera_yaw)
<< ", pitch: " << (wrapDegrees_180(cam.camera_pitch)) << "°"
<< ", seed: " << ((u64)client->getMapSeed()); << ", seed: " << ((u64)client->getMapSeed());
if (pointed_old.type == POINTEDTHING_NODE) { if (pointed_old.type == POINTEDTHING_NODE) {