Searched refs:perpDot (Results 1 – 3 of 3) sorted by relevance
95 SkScalar perpDot = v.fX*w.fY - v.fY*w.fX; in GetSpotShadowTransform() local96 if (perpDot > 0) { in GetSpotShadowTransform()101 perpDot = v.fX*w.fY - v.fY*w.fX; in GetSpotShadowTransform()102 if (perpDot < 0) { in GetSpotShadowTransform()
43 SkScalar perpDot = n0.fX * n1.fY - n0.fY * n1.fX; in intersect() local44 if (SkScalarNearlyZero(perpDot)) { in intersect()47 *t = (v.fX * n1.fY - v.fY * n1.fX) / perpDot; in intersect()57 SkScalar perpDot = n0.dot(perp); in perp_intersect() local58 if (SkScalarNearlyZero(perpDot)) { in perp_intersect()61 *t = v.dot(perp) / perpDot; in perp_intersect()
48 SkScalar perpDot = v.cross(w); in compute_side() local49 if (!SkScalarNearlyZero(perpDot, kCrossTolerance)) { in compute_side()50 return ((perpDot > 0) ? 1 : -1); in compute_side()218 SkScalar perpDot = v0.cross(v1); in SkIsConvexPolygon() local219 if (lastPerpDot*perpDot < 0) { in SkIsConvexPolygon()222 if (0 != perpDot) { in SkIsConvexPolygon()223 lastPerpDot = perpDot; in SkIsConvexPolygon()