Home
last modified time | relevance | path

Searched defs:fail_value (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/imgui/
H A Dimgui_internal.h432 static inline float ImInvLength(const ImVec2& lhs, float fail_value) { float d = (lhs.x * lhs.x) + (lhs.y * lhs.y); if (d > 0.0f) return ImRsqrt(d); return fail_value; } in ImInvLength() argument
/third_party/mesa3d/src/imgui/
H A Dimgui_internal.h242 static inline float ImInvLength(const ImVec2& lhs, float fail_value) { float d = lhs.x*lhs.x + lhs.y*lhs.y; if (d > 0.0f) return 1.0f / ImSqrt(d); return fail_value; } in ImInvLength() argument

Completed in 11 milliseconds