MCPcopy Create free account
hub / github.com/TKazer/CS2_External / DistanceFromRectangle

Function DistanceFromRectangle

CS2_External/OS-ImGui/imgui/imgui_draw.cpp:3524–3533  ·  view source on GitHub ↗

Calculates the signed distance from sample_pos to the nearest point on the rectangle defined by rect_min->rect_max

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 4

ImVec2Function · 0.85
ImLengthFunction · 0.85
ImMaxFunction · 0.85
ImMinFunction · 0.85

Tested by

no test coverage detected