Index: src/pathops/SkPathOpsQuad.cpp |
diff --git a/src/pathops/SkPathOpsQuad.cpp b/src/pathops/SkPathOpsQuad.cpp |
index 3cbc28abf48abde99eb0c6ec700505618eced101..636e3854fd93c478b0ad8a4b48ddb13a558549f5 100644 |
--- a/src/pathops/SkPathOpsQuad.cpp |
+++ b/src/pathops/SkPathOpsQuad.cpp |
@@ -164,6 +164,7 @@ SkDVector SkDQuad::dxdyAtT(double t) const { |
return result; |
} |
+// OPTIMIZE: assert if caller passes in t == 0 / t == 1 ? |
SkDPoint SkDQuad::xyAtT(double t) const { |
double one_t = 1 - t; |
double a = one_t * one_t; |