Display pitch angle in debug menu (#8321)
parent
0b492f82f7
commit
c8914664a3
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue