Searched refs:magSq (Results 1 – 3 of 3) sorted by relevance
27 float magSq = get_length_squared(x, y, z); in Length() local28 if (SkScalarIsFinite(magSq)) { in Length()29 return sk_float_sqrt(magSq); in Length()47 float magSq; in normalize() local48 if (is_length_nearly_zero(fX, fY, fZ, &magSq)) { in normalize()54 if (SkScalarIsFinite(magSq)) { in normalize()55 scale = 1.0f / sk_float_sqrt(magSq); in normalize()
290 double magSq() const { in magSq() function1532 double denom = 0.0625f * e->fLine.magSq(); in simplify_boundary()1580 double offset = radius * sqrt(prevEdge->fLine.magSq()) * prevEdge->fWinding; in stroke_boundary()1589 double offset = radius * sqrt(e->fLine.magSq()) * e->fWinding; in stroke_boundary()
73 SkScalar magSq = vector->dot(*vector) + SK_ScalarNearlyZero; in fast_normalize() local74 SkScalar scale = sk_float_rsqrt(magSq); in fast_normalize()