Searched refs:magSq (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/core/
H A DSkPoint3.cpp27 float magSq = get_length_squared(x, y, z); local
28 if (SkScalarIsFinite(magSq)) {
29 return sk_float_sqrt(magSq);
40 * 1. underflow of magSq (compared against nearlyzero^2)
41 * 2. overflow of magSq (compared w/ isfinite)
47 float magSq; local
48 if (is_length_nearly_zero(fX, fY, fZ, &magSq)) {
54 if (SkScalarIsFinite(magSq)) {
55 scale = 1.0f / sk_float_sqrt(magSq);
57 // our magSq ste
[all...]
/external/skia/src/effects/
H A DSkLightingImageFilter.cpp70 SkScalar magSq = vector->dot(*vector) + SK_ScalarNearlyZero; local
71 SkScalar scale = sk_float_rsqrt(magSq);

Completed in 143 milliseconds