Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/core/
DSkPoint3.cpp27 float magSq = get_length_squared(x, y, z); in Length() local
28 if (SkScalarIsFinite(magSq)) { in Length()
29 return sk_float_sqrt(magSq); in Length()
47 float magSq; in normalize() local
48 if (is_length_nearly_zero(fX, fY, fZ, &magSq)) { in normalize()
55 if (sk_float_isfinite(magSq)) { in normalize()
56 invScale = magSq; in normalize()
/third_party/skia/src/core/
DSkPoint3.cpp27 float magSq = get_length_squared(x, y, z); in Length() local
28 if (SkScalarIsFinite(magSq)) { in Length()
29 return sk_float_sqrt(magSq); in Length()
47 float magSq; in normalize() local
48 if (is_length_nearly_zero(fX, fY, fZ, &magSq)) { in normalize()
55 if (sk_float_isfinite(magSq)) { in normalize()
56 invScale = magSq; in normalize()
/third_party/skia/src/gpu/geometry/
DGrTriangulator.h340 double magSq() const { return fA * fA + fB * fB; } in magSq() function
342 double len = sqrt(this->magSq()); in normalize()
/third_party/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp68 SkScalar magSq = vector->dot(*vector) + SK_ScalarNearlyZero; in fast_normalize() local
74 SkScalar scale = sk_float_rsqrt_portable(magSq); in fast_normalize()
76 SkScalar scale = sk_float_rsqrt(magSq); in fast_normalize()
/third_party/flutter/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp74 SkScalar magSq = vector->dot(*vector) + SK_ScalarNearlyZero; in fast_normalize() local
75 SkScalar scale = sk_float_rsqrt(magSq); in fast_normalize()
/third_party/flutter/skia/src/gpu/
DGrTessellator.cpp292 double magSq() const { in magSq() function
296 double len = sqrt(this->magSq()); in normalize()