Home
last modified time | relevance | path

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

/third_party/mesa3d/src/imgui/
H A Dimgui.cpp1239 float ab_len_sqr = ab_dir.x * ab_dir.x + ab_dir.y * ab_dir.y; in ImLineClosestPoint() local
1240 if (dot > ab_len_sqr) in ImLineClosestPoint()
1242 return a + ab_dir * dot / ab_len_sqr; in ImLineClosestPoint()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp1287 float ab_len_sqr = ab_dir.x * ab_dir.x + ab_dir.y * ab_dir.y; in ImLineClosestPoint() local
1288 if (dot > ab_len_sqr) in ImLineClosestPoint()
1290 return a + ab_dir * dot / ab_len_sqr; in ImLineClosestPoint()

Completed in 37 milliseconds