Cleanup solveCubic() further.

This commit is contained in:
Jürg Lehni 2013-04-21 08:44:41 -07:00
parent 2fc4ff10ee
commit dc9a9c42d2
2 changed files with 12 additions and 11 deletions
src/path

View file

@ -301,7 +301,7 @@ var Curve = this.Curve = Base.extend(/** @lends Curve# */{
if (t >= -tolerance && t < 1 - tolerance) {
var pt = Curve.evaluate(vals, t, true, 0);
/*#*/ if (options.debug) {
console.log(t, point.y, pt.y);
console.log(t, point + '', pt + '');
new Path.Circle({
center: Curve.evaluate(vals, t, true, 0),
radius: 2,