diff options
| author | aura <nw@moneybot.cc> | 2026-02-27 10:08:07 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-02-27 10:08:07 +0100 |
| commit | 66561ea2fb7f76c408c08e21132e58914329faba (patch) | |
| tree | e02e5c7ff51563a35417bdfe70af568db53896f1 /src/editor | |
| parent | b24f37279bcc4b3abd92b697eadcec1feba8d276 (diff) | |
more movement
Diffstat (limited to 'src/editor')
| -rw-r--r-- | src/editor/view3d.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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( |
