Searched refs:ab_dir (Results 1 – 1 of 1) sorted by relevance
1235 ImVec2 ab_dir = b - a; in ImLineClosestPoint() local1236 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()