Searched refs:ImLengthSqr (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_internal.h240 static inline float ImLengthSqr(const ImVec2& lhs) { return lhs.x*lhs.x + lhs.y*lhs.y; } function in typeref:typename:float
241 static inline float ImLengthSqr(const ImVec4& lhs) { return lhs.x*lhs.x + lhs.y*lhs.y + lhs.z*lhs.z + lhs.w*lhs.w; } function in typeref:typename:float
H A Dimgui.cpp1269 float dist2_ab = ImLengthSqr(p - proj_ab);
1270 float dist2_bc = ImLengthSqr(p - proj_bc);
1271 float dist2_ca = ImLengthSqr(p - proj_ca);
3228 if (ImLengthSqr(delta_from_click_pos) < g.IO.MouseDoubleClickMaxDist * g.IO.MouseDoubleClickMaxDist)
3244 g.IO.MouseDragMaxDistanceSqr[i] = ImMax(g.IO.MouseDragMaxDistanceSqr[i], ImLengthSqr(delta_from_click_pos));
3769 if (g.IO.ImeSetInputScreenPosFn && (g.PlatformImeLastPos.x == FLT_MAX || ImLengthSqr(g.PlatformImeLastPos - g.PlatformImePos) > 0.0001f))
4499 if (ImLengthSqr(settings->Size) > 0.00001f)
4939 if (window_pos_set_by_api && ImLengthSqr(g.NextWindowData.PosPivotVal) > 0.00001f)
H A Dimgui_draw.cpp1314 float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent);
H A Dimgui_widgets.cpp4167 float initial_dist2 = ImLengthSqr(initial_off);
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_internal.h240 static inline float ImLengthSqr(const ImVec2& lhs) { return lhs.x*lhs.x + lhs.y*lhs.y; } function in typeref:typename:float
241 static inline float ImLengthSqr(const ImVec4& lhs) { return lhs.x*lhs.x + lhs.y*lhs.y + lhs.z*lhs.z + lhs.w*lhs.w; } function in typeref:typename:float
H A Dimgui.cpp1269 float dist2_ab = ImLengthSqr(p - proj_ab);
1270 float dist2_bc = ImLengthSqr(p - proj_bc);
1271 float dist2_ca = ImLengthSqr(p - proj_ca);
3228 if (ImLengthSqr(delta_from_click_pos) < g.IO.MouseDoubleClickMaxDist * g.IO.MouseDoubleClickMaxDist)
3244 g.IO.MouseDragMaxDistanceSqr[i] = ImMax(g.IO.MouseDragMaxDistanceSqr[i], ImLengthSqr(delta_from_click_pos));
3769 if (g.IO.ImeSetInputScreenPosFn && (g.PlatformImeLastPos.x == FLT_MAX || ImLengthSqr(g.PlatformImeLastPos - g.PlatformImePos) > 0.0001f))
4499 if (ImLengthSqr(settings->Size) > 0.00001f)
4939 if (window_pos_set_by_api && ImLengthSqr(g.NextWindowData.PosPivotVal) > 0.00001f)
H A Dimgui_draw.cpp1314 float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent);
H A Dimgui_widgets.cpp4167 float initial_dist2 = ImLengthSqr(initial_off);

Completed in 98 milliseconds