Home
last modified time | relevance | path

Searched refs:lengthSquared (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/core/
DSkPoint3.cpp21 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()
DSkPoint.cpp63 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/
DSkPoint3.cpp21 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/
DSkPathOpsPoint.h80 return sqrt(lengthSquared()); in length()
83 double lengthSquared() const { in lengthSquared() function
223 return temp.lengthSquared(); in distanceSquared()
DSkOpAngle.cpp496 double lenSq = v.lengthSquared(); in distEndRatio()
557 if (cept.lengthSquared() * 2 < total.lengthSquared()) { in endsIntersect()
DSkPathOpsTSect.cpp27 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/
DSkPathOpsPoint.h80 return sqrt(lengthSquared()); in length()
83 double lengthSquared() const { in lengthSquared() function
223 return temp.lengthSquared(); in distanceSquared()
DSkOpAngle.cpp496 double lenSq = v.lengthSquared(); in distEndRatio()
557 if (cept.lengthSquared() * 2 < total.lengthSquared()) { in endsIntersect()
DSkPathOpsTSect.cpp27 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/
DPathOpsDVectorTest.cpp41 double lenSq = v1.lengthSquared(); in DEF_TEST()
/external/skia/tests/
DPathOpsDVectorTest.cpp41 double lenSq = v1.lengthSquared(); in DEF_TEST()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp218 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/
DtcuVectorUtil.hpp135 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()
DtcuRasterizationVerifier.cpp119 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/
Des3fClippingTests.cpp361 const deInt64 normalLen2 = tcu::lengthSquared(normalDir); in twoPointClippedTriangleInvisible()
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp358 const deInt64 normalLen2 = tcu::lengthSquared(normalDir); in twoPointClippedTriangleInvisible()