mirror of
https://github.com/minetest/minetest.git
synced 2025-02-18 19:03:46 +01:00
Display pitch angle in debug menu (#8321)
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user