mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
t/gui: Support quat values
This commit is contained in:
parent
65cc62daf9
commit
f123c41146
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue