Home
last modified time | relevance | path

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

/third_party/mesa3d/src/imgui/
H A 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()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp1283 ImVec2 ab_dir = b - a; in ImLineClosestPoint() local
1284 float dot = ap.x * ab_dir.x + ap.y * ab_dir.y; in ImLineClosestPoint()
1287 float ab_len_sqr = ab_dir.x * ab_dir.x + ab_dir.y * ab_dir.y; in ImLineClosestPoint()
1290 return a + ab_dir * dot / ab_len_sqr; in ImLineClosestPoint()

Completed in 39 milliseconds