Home
last modified time | relevance | path

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

/external/skia/src/gpu/geometry/
DGrQuadUtils.cpp285 float invDenom = dot00 * dot11 - dot01 * dot01; in barycentric_coords() local
287 if (SkScalarNearlyZero(invDenom, kEmptyTriTolerance)) { in barycentric_coords()
295 invDenom = sk_ieee_float_divide(1.f, invDenom); in barycentric_coords()
305 *u = (dot11 * dot02 - dot01 * dot12) * invDenom; in barycentric_coords()
306 *v = (dot00 * dot12 - dot01 * dot02) * invDenom; in barycentric_coords()