mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
F5 debug info: Use full words for NSEW directions for readability (#7461)
This commit is contained in:
parent
d77f3b3fde
commit
b982e45456
@ -33,7 +33,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
inline static const char *yawToDirectionString(int yaw)
|
||||
{
|
||||
static const char *direction[4] = {"N +Z", "W -X", "S -Z", "E +X"};
|
||||
static const char *direction[4] =
|
||||
{"North +Z", "West -X", "South -Z", "East +X"};
|
||||
|
||||
yaw = wrapDegrees_0_360(yaw);
|
||||
yaw = (yaw + 45) % 360 / 90;
|
||||
|
Loading…
Reference in New Issue
Block a user