Skip to content

Commit 3b0d2a6

Browse files
committed
doom lua: pos precision
1 parent 7e17512 commit 3b0d2a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Assets/Lua/Doom/things-lines.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,10 @@ local function iterate()
500500
local shortest_dist = math.maxinteger
501501

502502
texts.player = string.format(
503-
" X: %.5f\n Y: %.5f\n Z: %.2f\n" ..
504-
"distX: %.5f\ndistY: %.5f\ndistZ: %.2f\n" ..
505-
" momX: %.5f\n momY: %.5f\n" ..
506-
"distM: %f\n dirM: %f\nangle: %d",
503+
" X: %.6f\n Y: %.6f\n Z: %.2f\n" ..
504+
"distX: %.6f\ndistY: %.6f\ndistZ: %.2f\n" ..
505+
" momX: %.6f\n momY: %.6f\n" ..
506+
"distM: %.6f\n dirM: %.6f\nangle: %d",
507507
player.x,
508508
player.y,
509509
player.z,

0 commit comments

Comments
 (0)