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

This commit is contained in:
Paramat 2019-03-06 19:18:46 +13:00 committed by luk3yx
parent f1810e9d73
commit add01886b5

View File

@ -4328,7 +4328,8 @@ void Game::updateFrame(ProfilerGraph *graph, RunStats *stats, f32 dtime,
inline static const char *yawToDirectionString(int yaw) 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 = wrapDegrees_0_360(yaw);
yaw = (yaw + 45) % 360 / 90; yaw = (yaw + 45) % 360 / 90;