Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/imgui/
H A Dimgui_internal.h418 template<typename T> static inline T ImLerp(T a, T b, float t) { return (T)(a + (b - a) * t); } in ImLerp() function
426 static inline ImVec2 ImLerp(const ImVec2& a, const ImVec2& b, float t) { return ImVec2(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t); } in ImLerp() function
427 static inline ImVec2 ImLerp(const ImVec2& a, const ImVec2& b, const ImVec2& t) { return ImVec2(a.x + (b.x - a.x) * t.x, a.y + (b.y - a.y) * t.y); } in ImLerp() function
428 static inline ImVec4 ImLerp(const ImVec4& a, const ImVec4& b, float t) { return ImVec4(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t, a.w + (b.w - a.w) * t); } in ImLerp() function
/third_party/mesa3d/src/imgui/
H A Dimgui_internal.h230 template<typename T> static inline T ImLerp(T a, T b, float t) { return (T)(a + (b - a) * t); } in ImLerp() function
236 static inline ImVec2 ImLerp(const ImVec2& a, const ImVec2& b, float t) { return ImVec2(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t); } in ImLerp() function
237 static inline ImVec2 ImLerp(const ImVec2& a, const ImVec2& b, const ImVec2& t) { return ImVec2(a.x + (b.x - a.x) * t.x, a.y + (b.y - a.y) * t.y); } in ImLerp() function
238 static inline ImVec4 ImLerp(const ImVec4& a, const ImVec4& b, float t) { return ImVec4(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t, a.w + (b.w - a.w) * t); } in ImLerp() function

Completed in 12 milliseconds