Home
last modified time | relevance | path

Searched refs:ab_dir (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui.cpp1235 ImVec2 ab_dir = b - a; in ImLineClosestPoint() local
1236 float dot = ap.x * ab_dir.x + ap.y * ab_dir.y; in ImLineClosestPoint()
1239 float ab_len_sqr = ab_dir.x * ab_dir.x + ab_dir.y * ab_dir.y; in ImLineClosestPoint()
1242 return a + ab_dir * dot / ab_len_sqr; in ImLineClosestPoint()