MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / input_float

Method input_float

framework/drawer.cpp:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool Drawer::input_float(const char *caption, float *value, float step, const char *precision)
77{
78 bool res = ImGui::InputFloat(caption, value, step, step * 10.0f, precision);
79 if (res)
80 {
81 dirty = true;
82 };
83 return res;
84}
85
86bool Drawer::slider_float(const char *caption, float *value, float min, float max)
87{

Callers 6

on_update_ui_overlayMethod · 0.80
on_update_ui_overlayMethod · 0.80
on_update_ui_overlayMethod · 0.80
on_update_ui_overlayMethod · 0.80
on_update_ui_overlayMethod · 0.80
on_update_ui_overlayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected