Searched refs:dotProd (Results 1 – 2 of 2) sorted by relevance
115 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in RoundJoiner() local116 AngleType angleType = Dot2AngleType(dotProd); in RoundJoiner()155 SkScalar dotProd = SkPoint::DotProduct(beforeUnitNormal, afterUnitNormal); in MiterJoiner() local156 AngleType angleType = Dot2AngleType(dotProd); in MiterJoiner()185 if (0 == dotProd && invMiterLimit <= kOneOverSqrt2) in MiterJoiner()200 sinHalfAngle = SkScalarSqrt(SkScalarHalf(SK_Scalar1 + dotProd)); in MiterJoiner()
156 SkScalar dotProd = v0.dot(v1);159 if (!SkScalarNearlyZero(dotProd + SK_Scalar1) &&160 !SkScalarNearlyZero(dotProd - SK_Scalar1)) {176 SkScalarHalf(SK_Scalar1 + dotProd);