Home
last modified time | relevance | path

Searched refs:gradient_extent (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_draw.cpp1313 ImVec2 gradient_extent = gradient_p1 - gradient_p0; in ShadeVertsLinearColorGradientKeepAlpha() local
1314 float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent); in ShadeVertsLinearColorGradientKeepAlpha()
1319 float d = ImDot(vert->pos - gradient_p0, gradient_extent); in ShadeVertsLinearColorGradientKeepAlpha()