HomeSort by relevance Sort by last modified time
    Searched refs:lengthSquared (Results 1 - 14 of 14) sorted by null

  /external/skia/src/core/
SkPoint3.cpp 16 // *lengthSquared. Returns true if the distance is judged to be "nearly zero".
21 static inline bool is_length_nearly_zero(float x, float y, float z, float *lengthSquared) {
22 *lengthSquared = get_length_squared(x, y, z);
23 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero);
SkPoint.cpp 86 // *lengthSquared. Returns true if the distance is judged to be "nearly zero".
92 float *lengthSquared) {
93 *lengthSquared = getLengthSquared(dx, dy);
94 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero);
  /external/skia/tests/
PathOpsDVectorTest.cpp 41 double lenSq = v1.lengthSquared();
  /frameworks/base/libs/hwui/
ShadowTessellator.cpp 167 if (vector1.lengthSquared() == 0 || vector2.lengthSquared() == 0) {
Vector.h 35 float lengthSquared() const {
SpotShadow.cpp 622 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared();
689 (currentPenumbraVertex - umbra[previousClosestUmbraIndex]).lengthSquared();
694 float newLengthSquared = (currentPenumbraVertex - umbra[newUmbraIndex]).lengthSquared();
    [all...]
  /external/skia/src/pathops/
SkPathOpsPoint.h 80 return sqrt(lengthSquared());
83 double lengthSquared() const {
221 return temp.lengthSquared();
SkOpAngle.cpp 419 double lenSq = v.lengthSquared();
480 if (cept.lengthSquared() * 2 < total.lengthSquared()) {
    [all...]
SkPathOpsTSect.h 371 double distSq = (fPerpPt - cPt).lengthSquared();
372 double dist2Sq = (i.pt(1) - cPt).lengthSquared();
618 double test = (fPart[outer] - fPart[inner]).lengthSquared();
    [all...]
  /external/deqp/framework/referencerenderer/
rrRasterizer.cpp 218 return 2 * dotProduct * dotProduct > tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal);
231 return 2 * (-dotProduct) * (-dotProduct) < tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal);
263 const deInt64 lineLengthSquared = tcu::lengthSquared(u);
    [all...]
  /external/deqp/framework/common/
tcuVectorUtil.hpp 135 inline T lengthSquared (const Vector<T, Size>& a)
146 return ::sqrt(lengthSquared(a));
152 return deFloatSqrt(lengthSquared(a));
tcuRasterizationVerifier.cpp 119 if (crossProduct * crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(line))
417 // Assuming lengthSquared will not be implemented as sqrt(x)^2, allow 1 ULP
418 const float divisor = tcu::lengthSquared(pb - pa);
    [all...]
  /external/deqp/modules/gles2/functional/
es2fClippingTests.cpp 358 const deInt64 normalLen2 = tcu::lengthSquared(normalDir);
    [all...]
  /external/deqp/modules/gles3/functional/
es3fClippingTests.cpp 361 const deInt64 normalLen2 = tcu::lengthSquared(normalDir);
    [all...]

Completed in 656 milliseconds