MCPcopy Create free account
hub / github.com/cinder/Cinder / SetFloat

Method SetFloat

src/imgui/imgui.cpp:2886–2893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2884}
2885
2886void ImGuiStorage::SetFloat(ImGuiID key, float val)
2887{
2888 ImGuiStoragePair* it = ImLowerBound(Data.Data, Data.Data + Data.Size, key);
2889 if (it == Data.Data + Data.Size || it->key != key)
2890 Data.insert(it, ImGuiStoragePair(key, val));
2891 else
2892 it->val_f = val;
2893}
2894
2895void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2896{

Callers

nothing calls this directly

Calls 3

ImGuiStoragePairClass · 0.85
ImLowerBoundFunction · 0.70
insertMethod · 0.45

Tested by

no test coverage detected