Searched refs:ImLengthSqr (Results 1 – 4 of 4) sorted by relevance
240 static inline float ImLengthSqr(const ImVec2& lhs) { return lhs.x*lhs.… in ImLengthSqr() function241 static inline float ImLengthSqr(const ImVec4& lhs) { return lhs.x*lhs.… in ImLengthSqr() function
1269 float dist2_ab = ImLengthSqr(p - proj_ab); in ImTriangleClosestPoint()1270 float dist2_bc = ImLengthSqr(p - proj_bc); in ImTriangleClosestPoint()1271 float dist2_ca = ImLengthSqr(p - proj_ca); in ImTriangleClosestPoint()3228 …if (ImLengthSqr(delta_from_click_pos) < g.IO.MouseDoubleClickMaxDist * g.IO.MouseDoubleClickMaxDis… in UpdateMouseInputs()3244 …g.IO.MouseDragMaxDistanceSqr[i] = ImMax(g.IO.MouseDragMaxDistanceSqr[i], ImLengthSqr(delta_from_cl… in UpdateMouseInputs()3769 …if (g.IO.ImeSetInputScreenPosFn && (g.PlatformImeLastPos.x == FLT_MAX || ImLengthSqr(g.PlatformIme… in EndFrame()4499 if (ImLengthSqr(settings->Size) > 0.00001f) in CreateNewWindow()4939 if (window_pos_set_by_api && ImLengthSqr(g.NextWindowData.PosPivotVal) > 0.00001f) in Begin()
1314 float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent); in ShadeVertsLinearColorGradientKeepAlpha()
4167 float initial_dist2 = ImLengthSqr(initial_off); in ColorPicker4()