Commit f123c411 authored by Ryan Pavlik's avatar Ryan Pavlik Committed by Jakob Bornecrantz
Browse files

t/gui: Support quat values

parent 65cc62da
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment