Searched refs:gradient_inv_length2 (Results 1 – 1 of 1) sorted by relevance
1314 float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent); in ShadeVertsLinearColorGradientKeepAlpha() local1320 float t = ImClamp(d * gradient_inv_length2, 0.0f, 1.0f); in ShadeVertsLinearColorGradientKeepAlpha()