MCPcopy Create free account
hub / github.com/RenderKit/embree / NavScoreItemDistInterval

Function NavScoreItemDistInterval

tutorials/common/imgui/imgui.cpp:10355–10362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10353}
10354
10355static float inline NavScoreItemDistInterval(float a0, float a1, float b0, float b1)
10356{
10357 if (a1 < b0)
10358 return a1 - b0;
10359 if (b1 < a0)
10360 return a0 - b1;
10361 return 0.0f;
10362}
10363
10364static void inline NavClampRectToVisibleAreaForMoveDir(ImGuiDir move_dir, ImRect& r, const ImRect& clip_rect)
10365{

Callers 1

NavScoreItemMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected