F5 debug info: Use full words for NSEW directions for readability (#7461)

master
Paramat 2018-10-06 00:53:50 +01:00 committed by GitHub
parent d77f3b3fde
commit b982e45456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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;