MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / SetFloat

Method SetFloat

KBotExt/imgui/imgui.cpp:2466–2475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2464}
2465
2466void ImGuiStorage::SetFloat(ImGuiID key, float val)
2467{
2468 ImGuiStoragePair* it = LowerBound(Data, key);
2469 if (it == Data.end() || it->key != key)
2470 {
2471 Data.insert(it, ImGuiStoragePair(key, val));
2472 return;
2473 }
2474 it->val_f = val;
2475}
2476
2477void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2478{

Callers

nothing calls this directly

Calls 3

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45

Tested by

no test coverage detected