X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fbezier.cpp;h=83db943692e39a2f0509425234f2c43e82c49cdd;hp=3ace267978b86e88d437d3d1b3d41de1bcbf4dbe;hb=b716ae547424e4e4bbda86781a151c31e3a64e67;hpb=6c0dfe752994312ee58d307b383948bfeb2d6e2e diff --git a/src/bezier.cpp b/src/bezier.cpp index 3ace267..83db943 100644 --- a/src/bezier.cpp +++ b/src/bezier.cpp @@ -96,6 +96,7 @@ vector SolveCubic(const BReal & a, const BReal & b, const BReal & c, cons //Debug("%u turning points", turns.size()); for (unsigned i = 1; i < turns.size(); ++i) { + //if (tl > max) break; tu = turns[i]; CubicSolveSegment(roots, a, b, c, d, tl, tu,delta); tl = turns[i];