Searched refs:gradient_extent (Results 1 – 1 of 1) sorted by relevance
1313 ImVec2 gradient_extent = gradient_p1 - gradient_p0; in ShadeVertsLinearColorGradientKeepAlpha() local1314 float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent); in ShadeVertsLinearColorGradientKeepAlpha()1319 float d = ImDot(vert->pos - gradient_p0, gradient_extent); in ShadeVertsLinearColorGradientKeepAlpha()