Searched refs:lengthSquared (Results 1 – 16 of 16) sorted by relevance
/external/skqp/src/core/ |
D | SkPoint3.cpp | 21 static inline bool is_length_nearly_zero(float x, float y, float z, float *lengthSquared) { in is_length_nearly_zero() argument 22 *lengthSquared = get_length_squared(x, y, z); in is_length_nearly_zero() 23 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero); in is_length_nearly_zero()
|
D | SkPoint.cpp | 63 float *lengthSquared) { in is_length_nearly_zero() argument 64 *lengthSquared = getLengthSquared(dx, dy); in is_length_nearly_zero() 65 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero); in is_length_nearly_zero()
|
/external/skia/src/core/ |
D | SkPoint3.cpp | 21 static inline bool is_length_nearly_zero(float x, float y, float z, float *lengthSquared) { in is_length_nearly_zero() argument 22 *lengthSquared = get_length_squared(x, y, z); in is_length_nearly_zero() 23 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero); in is_length_nearly_zero()
|
/external/skqp/src/pathops/ |
D | SkPathOpsPoint.h | 80 return sqrt(lengthSquared()); in length() 83 double lengthSquared() const { in lengthSquared() function 223 return temp.lengthSquared(); in distanceSquared()
|
D | SkOpAngle.cpp | 496 double lenSq = v.lengthSquared(); in distEndRatio() 557 if (cept.lengthSquared() * 2 < total.lengthSquared()) { in endsIntersect()
|
D | SkPathOpsTSect.cpp | 27 double distSq = (fPerpPt - cPt).lengthSquared(); in setPerp() 28 double dist2Sq = (i.pt(1) - cPt).lengthSquared(); in setPerp() 266 double test = ((*fPart)[outer] - (*fPart)[inner]).lengthSquared(); in linearIntersects()
|
/external/skia/src/pathops/ |
D | SkPathOpsPoint.h | 80 return sqrt(lengthSquared()); in length() 83 double lengthSquared() const { in lengthSquared() function 223 return temp.lengthSquared(); in distanceSquared()
|
D | SkOpAngle.cpp | 496 double lenSq = v.lengthSquared(); in distEndRatio() 557 if (cept.lengthSquared() * 2 < total.lengthSquared()) { in endsIntersect()
|
D | SkPathOpsTSect.cpp | 27 double distSq = (fPerpPt - cPt).lengthSquared(); in setPerp() 28 double dist2Sq = (i.pt(1) - cPt).lengthSquared(); in setPerp() 266 double test = ((*fPart)[outer] - (*fPart)[inner]).lengthSquared(); in linearIntersects()
|
/external/skqp/tests/ |
D | PathOpsDVectorTest.cpp | 41 double lenSq = v1.lengthSquared(); in DEF_TEST()
|
/external/skia/tests/ |
D | PathOpsDVectorTest.cpp | 41 double lenSq = v1.lengthSquared(); in DEF_TEST()
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 218 return 2 * dotProduct * dotProduct > tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal); in lineInCornerAngleRange() 231 …return 2 * (-dotProduct) * (-dotProduct) < tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNorm… in lineInCornerOutsideAngleRange() 263 const deInt64 lineLengthSquared = tcu::lengthSquared(u); in doesLineSegmentExitDiamond() 954 …const float t = tcu::dot((pr - pa).asFloat(), (pb - pa).asFloat()) / tcu::lengthSquared(p… in rasterize()
|
/external/deqp/framework/common/ |
D | tcuVectorUtil.hpp | 135 inline T lengthSquared (const Vector<T, Size>& a) in lengthSquared() function 146 return ::sqrt(lengthSquared(a)); in length() 152 return deFloatSqrt(lengthSquared(a)); in length()
|
D | tcuRasterizationVerifier.cpp | 119 if (crossProduct * crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(line)) in pixelNearLineSegment() 418 const float divisor = tcu::lengthSquared(pb - pa); in calcLineInterpolationWeights() 2164 …if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage() 2166 …if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
|
/external/deqp/modules/gles3/functional/ |
D | es3fClippingTests.cpp | 361 const deInt64 normalLen2 = tcu::lengthSquared(normalDir); in twoPointClippedTriangleInvisible()
|
/external/deqp/modules/gles2/functional/ |
D | es2fClippingTests.cpp | 358 const deInt64 normalLen2 = tcu::lengthSquared(normalDir); in twoPointClippedTriangleInvisible()
|