From 66561ea2fb7f76c408c08e21132e58914329faba Mon Sep 17 00:00:00 2001 From: aura Date: Fri, 27 Feb 2026 10:08:07 +0100 Subject: more movement --- src/editor/view3d.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/editor') diff --git a/src/editor/view3d.cpp b/src/editor/view3d.cpp index 656eda9..3729823 100644 --- a/src/editor/view3d.cpp +++ b/src/editor/view3d.cpp @@ -13,14 +13,15 @@ void gui_editor_3dview_draw_showpos( GUI_EDITOR_3DVIEW* view ) { I32 y = gui_rely( view ) + EDITORVIEW_TITLE_OFFSET; VEC3 pos = objl->pl->pos; + F32 speed = vec_len( objl->pl->velocity ); gui_draw_str( x + view->w - 2, y + 2, ALIGN_R, FNT_JPN12, ui_clr.txt, - "pos: %.02f %.02f %.02f", - pos.x, pos.y, pos.z + "pos: %.02f %.02f %.02f (%.02f)", + pos.x, pos.y, pos.z, speed ); gui_draw_str( -- cgit v1.2.3