Expand description
Per-shape leaf renderers + numeric helpers.
Renderers are pure functions matched by JSON shape. The walker (in
widgets::inspector::walker) iterates the shape detectors (is_*) in
order and dispatches to the matching renderer. Adding a new shape =
adding a match_shape predicate and a render_* function and wiring
them in walker::render_object.
Functions§
- f32_
to_ json - humanise
snake_case→"Snake Case"— keeps the inspector readable without the engine having to ship a separate display-name table.- is_
color - is_quat
- is_vec3
- json_
to_ f32 - render_
color - render_
number_ row - render_
numeric_ quad - render_
numeric_ triple - render_
quat - render_
vec3