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

Method GetFloat

extern/imgui/imgui.cpp:2341–2347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2339}
2340
2341float ImGuiStorage::GetFloat(ImGuiID key, float default_val) const
2342{
2343 ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key);
2344 if (it == Data.end() || it->key != key)
2345 return default_val;
2346 return it->val_f;
2347}
2348
2349void* ImGuiStorage::GetVoidPtr(ImGuiID key) const
2350{

Callers

nothing calls this directly

Calls 2

LowerBoundFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected