Searched refs:magSq (Results 1 – 6 of 6) sorted by relevance
/third_party/flutter/skia/src/core/ |
D | SkPoint3.cpp | 27 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/ |
D | SkPoint3.cpp | 27 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/ |
D | GrTriangulator.h | 340 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/ |
D | SkLightingImageFilter.cpp | 68 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/ |
D | SkLightingImageFilter.cpp | 74 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/ |
D | GrTessellator.cpp | 292 double magSq() const { in magSq() function 296 double len = sqrt(this->magSq()); in normalize()
|