Searched refs:lengthSquared (Results 1 – 11 of 11) sorted by relevance
21 static inline bool is_length_nearly_zero(float x, float y, float z, float *lengthSquared) { in is_length_nearly_zero() argument22 *lengthSquared = get_length_squared(x, y, z); in is_length_nearly_zero()23 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero); in is_length_nearly_zero()
92 float *lengthSquared) { in is_length_nearly_zero() argument93 *lengthSquared = getLengthSquared(dx, dy); in is_length_nearly_zero()94 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero); in is_length_nearly_zero()
80 return sqrt(lengthSquared()); in length()83 double lengthSquared() const { in lengthSquared() function221 return temp.lengthSquared(); in distanceSquared()
419 double lenSq = v.lengthSquared(); in distEndRatio()480 if (cept.lengthSquared() * 2 < total.lengthSquared()) { in endsIntersect()
371 double distSq = (fPerpPt - cPt).lengthSquared(); in setPerp()372 double dist2Sq = (i.pt(1) - cPt).lengthSquared(); in setPerp()618 double test = (fPart[outer] - fPart[inner]).lengthSquared(); in linearIntersects()
41 double lenSq = v1.lengthSquared(); in DEF_TEST()
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()
135 inline T lengthSquared (const Vector<T, Size>& a) in lengthSquared() function146 return ::sqrt(lengthSquared(a)); in length()152 return deFloatSqrt(lengthSquared(a)); in length()
119 if (crossProduct * crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(line)) in pixelNearLineSegment()418 const float divisor = tcu::lengthSquared(pb - pa); in calcLineInterpolationWeights()2156 …if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()2158 …if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
361 const deInt64 normalLen2 = tcu::lengthSquared(normalDir); in twoPointClippedTriangleInvisible()
358 const deInt64 normalLen2 = tcu::lengthSquared(normalDir); in twoPointClippedTriangleInvisible()