From f123c41146163783350c7b4a0097e618a54c4807 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 17 Sep 2019 19:27:38 -0500 Subject: [PATCH] t/gui: Support quat values --- src/xrt/targets/gui/gui_scene_debug.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xrt/targets/gui/gui_scene_debug.c b/src/xrt/targets/gui/gui_scene_debug.c index fb87f0a0f..ff0e3f091 100644 --- a/src/xrt/targets/gui/gui_scene_debug.c +++ b/src/xrt/targets/gui/gui_scene_debug.c @@ -125,6 +125,9 @@ on_elem(const char *name, enum u_var_kind kind, void *ptr, void *priv) case U_VAR_KIND_RO_VEC3_F32: igInputFloat3(name, (float *)ptr, "%+f", ro_i_flags); break; + case U_VAR_KIND_RO_QUAT_F32: + igInputFloat4(name, (float *)ptr, "%+f", ro_i_flags); + break; case U_VAR_KIND_GUI_HEADER: state->hidden = !igCollapsingHeader(name, 0); break;