MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / SetFloat

Method SetFloat

extern/imgui/imgui.cpp:2404–2413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2402}
2403
2404void ImGuiStorage::SetFloat(ImGuiID key, float val)
2405{
2406 ImGuiStoragePair* it = LowerBound(Data, key);
2407 if (it == Data.end() || it->key != key)
2408 {
2409 Data.insert(it, ImGuiStoragePair(key, val));
2410 return;
2411 }
2412 it->val_f = val;
2413}
2414
2415void ImGuiStorage::SetVoidPtr(ImGuiID key, void* val)
2416{

Callers

nothing calls this directly

Calls 4

LowerBoundFunction · 0.85
ImGuiStoragePairClass · 0.85
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected